https://pulumi.com logo
d

damp-pillow-67781

01/13/2020, 6:13 PM
Hi, I got the error of
no resource plugin 'pulumi-nodejs' found in the workspace or on your $PATH
on my new linux worker, I thought I saw the error before but not sure I fixed it. Any ideas?
w

white-balloon-205

01/13/2020, 9:22 PM
You should have a binary
pulumi-resource-pulumi-nodejs
sitting next to your
pulumi
binary. Is that there in your current configuration? That binary will need to be present in order to use "dynamic providers". It is installed as part of the default Pulumi installer/zip.
d

damp-pillow-67781

01/13/2020, 9:28 PM
I did pulumi install via command
curl -L <https://get.pulumi.com/> | bash -s
how do I check if the config’s there?
w

white-balloon-205

01/13/2020, 9:29 PM
which pulumi
which pulumi-resource-pulumi-nodejs
What path do each of those return for you?
d

damp-pillow-67781

01/13/2020, 9:30 PM
Copy code
[root@ip-10-178-29-149 ~]# which pulumi-resource-pulumi-nodejs
/root/.pulumi/bin/pulumi-resource-pulumi-nodejs
[root@ip-10-178-29-149 ~]# which pulumi
/usr/bin/pulumi
Okay I need to set that to path I guess
w

white-balloon-205

01/13/2020, 9:31 PM
I don't think we install anything to
/usr/bin
- how did you get that one?
But yes - if you want to use the installation in
~/.pulumi/bin
then add that to your PATH. That is where the default installer installs things (the
curl
command above should tell you that as part of it's output).
d

damp-pillow-67781

01/13/2020, 9:42 PM
because I added the symlink to it
w

white-balloon-205

01/13/2020, 9:50 PM
Ahh - I see. Yes - there are additional binaries that must also be on your
PATH
(everything in
~/.pulumi/bin
).
2 Views