https://pulumi.com logo
#general
Title
# general
c

creamy-potato-29402

09/24/2018, 4:55 PM
Also… just to make sure I’m not missing something on the first error, you are saying that this message is confusing because you have run
npm install
, right?
f

full-dress-10026

09/24/2018, 4:57 PM
Usually the
new
command will run
npm install
itself. Something failed in project creation, I guess, which produced that error.
c

creamy-potato-29402

09/24/2018, 4:58 PM
Hmm, I see.
what is the command you ran?
f

full-dress-10026

09/24/2018, 4:59 PM
Copy code
pulumi new aws-typescript --dir infrastructure
This command will walk you through creating a new Pulumi project.

Enter a value or leave blank to accept the default, and press <ENTER>.
Press ^C at any time to quit.
project name: (infrastructure) ComputeSoftware/infra         
project description: (A minimal AWS TypeScript Pulumi program) Compute Software's AWS infrastructure 
Created project 'ComputeSoftware/infra'.
stack name: (ComputeSoftware/infra-dev) 
Created stack 'ComputeSoftware/infra-dev'.
aws:region: The AWS region to deploy into: (us-east-1) us-west-2
Installing dependencies...
Your new project is configured and ready to go! 
Previewing update of stack 'ComputeSoftware/infra-dev'
     Type    Name    Status        Info
 *   global  global  unchanged     1 info message
 
Diagnostics:
  global: global
    info: 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 [/home/kenny/.pulumi/bin/pulumi-language-nodejs] stdout: EOF
Best guess is that NPM doesn't like the project name containing a
/
.
c

creamy-potato-29402

09/24/2018, 5:00 PM
Hmm, ok, can please you file an issue to track this?
f

full-dress-10026

09/24/2018, 5:00 PM
Sure
In this repo, correct? https://github.com/pulumi/pulumi
c

creamy-potato-29402

09/24/2018, 5:44 PM
@full-dress-10026 yeah that’s ok
👍 1
f

full-dress-10026

09/24/2018, 5:44 PM
c

creamy-potato-29402

09/24/2018, 5:44 PM
thanks!
2 Views