echoing-zebra-28421
06/26/2021, 10:53 PMError reading file 'infra/package.json' when computing package dependencies. Error: ENOENT: no such file or directory, open '/infra/package.json'
My dir:
- project
...
- infra
- Pulumi.yaml
- tsconfig.json
...
- src
...
- package.json
- tsconfig.json
I need to have the package.json at that place in my directory.
Any help or alternatives to solve the problem will be welcome.
I'm using @pulumi/pulumi: "^3.4.0"
this error occurs when i run pulumi preview --cwd infra
I run that command in the root of my projectaws.lambda.CallbackFunction