Hello. I'm trying to develop a native pulumi provi...
# contribute
Hello. I'm trying to develop a native pulumi provider. After cloning https://github.com/pulumi/pulumi-provider-boilerplate repo, I got it almost working. 1. I've replaced all xyz into my new package name. 2. Also commented out dotnet, go, python SDKs in the Makefile for now. This is the change. I believe with this change I should be able to focus only on NodeJS SDK for now.
Copy code
# build:: gen provider dotnet_sdk go_sdk nodejs_sdk python_sdk
build:: gen provider nodejs_sdk

# install:: install_nodejs_sdk install_dotnet_sdk
# 	cp $(WORKING_DIR)/bin/${PROVIDER} ${GOPATH}/bin
install:: install_nodejs_sdk
3. I'm getting this error on my
make build install
Copy code
$ /home/shinebayar-g/github/pulumi-test-native/sdk/nodejs/node_modules/.bin/tsc
Done in 1.91s.
yarn unlink --cwd /home/shinebayar-g/github/pulumi-test-native/sdk/nodejs/bin
yarn unlink v1.22.19
warning ../package.json: No license field
error No registered package found called "@pulumi/test-native".
info Visit <https://yarnpkg.com/en/docs/cli/unlink> for documentation about this command.
make: [Makefile:115: install_nodejs_sdk] Error 1 (ignored)
yarn link --cwd /home/shinebayar-g/github/pulumi-test-native/sdk/nodejs/bin
yarn link v1.22.19
warning ../package.json: No license field
success Registered "@pulumi/test-native".
info You can now run `yarn link "@pulumi/test-native"` in the projects where you want to use this package and it will be used instead.
Done in 0.03s.
I see it generated
folder successfully. However I cannot run
yarn link "@pulumi/linux-native
in the
folder to test it out. Command just hangs.. I'd really appreciate if someone could help me to setup my provider.