09/18/2018, 12:11 AM
i’m trying to run pulumi inside a docker container / ci environment, but I’m getting the error
error: failed to load language plugin nodejs: no language plugin 'nodejs' found in the workspace or on your $PATH
. I can’t remember having to install a nodejs plugin explicitly locally, nor does
pulumi plugin ls
show locally a nodejs plugin. Any hints on what may be the problem? Note in the CI environment I’m running node 10, whereas locally I just have node 8 - may that be the cause?
found the cause after a bit of digging. I added pulumi to the path by creating a symlink
/usr/local/bin/pulumi -> /root/.pulumi/bin/pulumi
and apparently pulumi CLI didn’t like being symlinked that way.


09/18/2018, 1:39 AM
Ah, yes,
tries to load plugins from your path. So, if you need to load the Node.js runtime, it'll look for
, and if you need to load the AWS resource provider, it'll look for
. So by symlinking, I suspect it did not find the binary adjacent to itself and failed. One solution is to add
to your path (defeating the purpose, I suppose of your symlink), or symlinking the plugins also.