cuddly-magician-97620
10/28/2023, 3:30 PMpulumi new aws-typescript
is recently failing for me. If I follow Pulumi & AWS: Create new project instruction and then try pulumi preview
, I get this error:
error: Error: Cannot find module 'fs/promises'
Now, if I remove node_modules
, remove package-lock.json
, copy package-lock.json from one of my existing projects, and then run npm install
, then the new project starts working.
Any idea what's wrong with pulumi new
?salmon-account-74572
10/31/2023, 3:43 PMcuddly-magician-97620
10/31/2023, 5:10 PMv20.8.0
fixed the problem.
Thanks again!salmon-account-74572
11/01/2023, 4:51 PMcuddly-magician-97620
11/01/2023, 5:03 PMpulumi new aws-typescript
and then run npm outdated
in the new project directory, it shows me the dependencies are not at the latest versions. Does that mean that upgrade of these dependencies to the latest versions in any of my existing projects is not recommended (yet)?salmon-account-74572
11/01/2023, 6:24 PM