There is an issue with the way the install-pulumi-plugin.js file is generated in the Node.js SDK. It's emitted as a .js file and not listed in tsconfig.json, so it doesn't get copied over to the bin directory automatically during build. Other providers have some pre-publish scripts that injects another copy of install-pulumi-plugin.js in the bin directory before packaging and publishing, which masked this underlying issue.
Until we've fixed the underlying issue, or gotten rid of this install script altogether, the simplest short-term fix is to simply update the Makefile to copy the file over to the bin directory as part of the build.
There is an issue with the way the
install-pulumi-plugin.js
file is generated in the Node.js SDK. It's emitted as a .js file and not listed intsconfig.json
, so it doesn't get copied over to thebin
directory automatically during build. Other providers have some pre-publish scripts that injects another copy ofinstall-pulumi-plugin.js
in the bin directory before packaging and publishing, which masked this underlying issue.Until we've fixed the underlying issue, or gotten rid of this install script altogether, the simplest short-term fix is to simply update the Makefile to copy the file over to the bin directory as part of the build.
Fixes #26