I'm working on a project cloned from a colleague t...
# general
l
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
you have the node_modules locally?
l
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
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
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
and the sdk shows up in
npm list
😄
l
No, doesn't show up in npm list.. hence the problem. Thank you for remote debugging 🙂