icy-engineer-10830
09/06/2019, 4:40 PMCreated stack 'dev'
Previewing update (dev):
Type Name Plan Info
pulumi:pulumi:Stack azurenetwork-dev 1 message
Diagnostics:
pulumi:pulumi:Stack (azurenetwork-dev):
error: It looks like the Pulumi SDK has not been installed. Have you run npm install or yarn install?
error: failed to load language plugin nodejs: could not read plugin [/Users/jonbrwn/.pulumi/bin/pulumi-language-nodejs] stdout: EOF
clever-sunset-76585
09/06/2019, 4:42 PMnpm install
or yarn install
?pulumi new
to setup a new project/stack, it runs it automatically for you unless you canceled out of it before it can.npm
dependencies on your own.icy-engineer-10830
09/06/2019, 4:45 PMnpm install
in the same directory and the error still appears.pulumi-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.icy-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