sparse-intern-71089
09/06/2019, 4:40 PMclever-sunset-76585
09/06/2019, 4:42 PMnpm install
or yarn install
?clever-sunset-76585
09/06/2019, 4:42 PMpulumi new
to setup a new project/stack, it runs it automatically for you unless you canceled out of it before it can.clever-sunset-76585
09/06/2019, 4:42 PMnpm
dependencies on your own.icy-engineer-10830
09/06/2019, 4:45 PMnpm install
in the same directory and the error still appears.icy-engineer-10830
09/06/2019, 4:46 PMpulumi-language-nodejs
binarybroad-dog-22463
09/06/2019, 4:51 PMicy-engineer-10830
09/06/2019, 4:54 PMnpm install --save @pulumi/pulumi
not sure if the problem had to do with a recent npm update or a pulumi updateclever-sunset-76585
09/06/2019, 6:46 PMpulumi new
at all?icy-engineer-10830
09/06/2019, 10:08 PMclever-sunset-76585
09/06/2019, 10:11 PMnpm
packages as dependencies
(speaking for the NodeJS runtime, of course.) The core dependencies being the @pulumi/pulumi
and the respective provider package, i.e. @pulumi/aws
, @pulumi/kubernetes
, @pulumi/azure
etc.clever-sunset-76585
09/06/2019, 10:11 PMicy-engineer-10830
09/06/2019, 10:17 PMnpm install
and then pulumi up
clever-sunset-76585
09/06/2019, 10:19 PMso should a package.json be included in the directory to ensure those get installed? i.e. making sure users run `npm install`and thenYes. It should be in the same directory as your pulumi app code, i.e. where thepulumi up
index.ts
file is located.icy-engineer-10830
09/06/2019, 10:45 PMclever-sunset-76585
09/06/2019, 10:49 PM