steep-secretary-65224
09/24/2024, 8:27 PMnpm install
time. we haven't changed anything that should be affecting this. is there a good way to debug this? (eg, manually performing the install and doing some basic things like ls
and `cat`ing files)steep-secretary-65224
09/24/2024, 8:28 PMlittle-cartoon-10569
09/24/2024, 8:34 PMsteep-secretary-65224
09/24/2024, 8:37 PMpackage.json
at the stack level)
|- package.json|
|- infrastructure
|- eks-cluster
|- Pulumi.yaml
|- index.ts
little-cartoon-10569
09/24/2024, 8:38 PMnpm install
creates node_modules at the same level as package.json. If you have no package.json, then you'll have this error, I guess?little-cartoon-10569
09/24/2024, 8:40 PMsteep-secretary-65224
09/24/2024, 8:41 PMpulumi
seems to handle this just fine. locally, if i do an npm install
from that infrastructure/eks-cluster
directory, it creates node_modules
next to the package.json
(like you said), but ulumi preview
works just finesteep-secretary-65224
09/24/2024, 8:42 PMnode_modules
causes pulumi preview
to fail. so it's not like there's some other magic going onlittle-cartoon-10569
09/24/2024, 8:45 PMsteep-secretary-65224
09/24/2024, 8:45 PM