elegant-architect-38580
05/14/2022, 6:46 AMmake install_provider
and make generate
create nodejs sdk which defines the package in "@<my org>/<package name>". The package.json always builds the package name like this: "name": "@pulumi/xyz"
Is this boilerplate and component package provider in general only for publishing packages to the public registry or is there something I'm missing?billowy-army-68599
05/14/2022, 7:19 AMelegant-architect-38580
05/16/2022, 8:00 AMmake install_nodejs_sdk
. It's returning this:
> @easee/cp-pulumi-component-package-xyz@${VERSION} install
> node scripts/install-pulumi-plugin.js resource xyz ${VERSION}
[resource plugin xyz-0.0.1] installing
error: [resource plugin xyz-0.0.1] downloading from <https://github.com/easee/cp-pulumi-component-package-xyz/releases/download/v${VERSION}>: 404 HTTP error fetching plugin from <https://github.com/easee/cp-pulumi-component-package-xyz/releases/download/v0.0.1/pulumi-resource-xyz-v0.0.1-linux-amd64.tar.gz>
There was an error installing the resource provider plugin. You may try to manually installing the plugin by running `pulumi plugin install resource xyz 0.0.1`
Do I need to deploy an initial release to do local testing? this seems a bit strangebillowy-army-68599
05/16/2022, 8:09 AMelegant-architect-38580
05/16/2022, 8:14 AMexport PATH=$PATH:$PWD/bin
It might be because I instruct bash to be used as the shell in the makefile. The pushd command is not working if I run the make build commands without thisbillowy-army-68599
05/16/2022, 8:36 AMexport PATH=$PATH:$(pwd)/bin
like you, then use yarn link @jaxxstorm/packagename
inside the examples directoryelegant-architect-38580
05/16/2022, 11:00 AMnpm link @easee/<packagename>
work in the examples directory, but this does not seem to be correct. The pulumi up command in the examples directory returns this:
failed to discover plugin requirements: illegal semver returned by language host: easee/pulumi-aws-xyz@v${VERSION}: Invalid character(s) found in major number "${VERSION}"
Since the make install_nodejs_sdk
fails I guess this is part of the reason the VERSION is not populated correctly. I've defined VERSION both in the schema and as an environment variable