icy-engineer-1083009/06/2019, 4:40 PM
Created 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-7658509/06/2019, 4:42 PM
to setup a new project/stack, it runs it automatically for you unless you canceled out of it before it can.
dependencies on your own.
icy-engineer-1083009/06/2019, 4:45 PM
in the same directory and the error still appears.
broad-dog-2246309/06/2019, 4:51 PM
icy-engineer-1083009/06/2019, 4:54 PM
not sure if the problem had to do with a recent npm update or a pulumi update
npm install --save @pulumi/pulumi
clever-sunset-7658509/06/2019, 6:46 PM
icy-engineer-1083009/06/2019, 10:08 PM
clever-sunset-7658509/06/2019, 10:11 PM
(speaking for the NodeJS runtime, of course.) The core dependencies being the
and the respective provider package, i.e.
icy-engineer-1083009/06/2019, 10:17 PM
clever-sunset-7658509/06/2019, 10:19 PM
so 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 the
file is located.
icy-engineer-1083009/06/2019, 10:45 PM