https://pulumi.com logo
#general
Title
# general
l

little-cartoon-10569

12/06/2021, 1:15 AM
I'm working on a project cloned from a colleague today, new dir, new creds, existing codebase, never had it on my computer before. I'm getting
error: It looks like the Pulumi SDK has not been installed. Have you run npm install or yarn install?
in this project. But not any other project. Afaik, the plugins are shared under ~/.pulumi. What else should I look at to diagnose this?
b

billowy-army-68599

12/06/2021, 1:27 AM
you have the node_modules locally?
l

little-cartoon-10569

12/06/2021, 1:35 AM
Yes, bind-,mounted into my container...
What node module should I be looking for?
When I run the binary manually, i get the same error...
b

billowy-army-68599

12/06/2021, 1:40 AM
It looks like the Pulumi SDK has not been installed. Have you run npm install or yarn install
this implies it can't find the
@pulumi/pulumi
sdk: https://github.com/pulumi/pulumi/blob/d9dd88c7401d9485dfbb3062269cf10bcdcfc1b7/sdk/nodejs/cmd/pulumi-language-nodejs/main.go#L109-L114 are you using automation API? or just a standard pulumi project?
l

little-cartoon-10569

12/06/2021, 2:00 AM
Standard project. Sorry for slow repilies, lots going on around here...
Ah, I think I've found it... I hard-coded the wrong host directory in my
npm
alias
b

billowy-army-68599

12/06/2021, 2:02 AM
and the sdk shows up in
npm list
😄
l

little-cartoon-10569

12/06/2021, 2:03 AM
No, doesn't show up in npm list.. hence the problem. Thank you for remote debugging 🙂
2 Views