WebStorm - Setting Up Angular 2

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

WebStorm can easily help you set up a new Angular 2 project with never even touching a terminal. This lesson shows you all the neat GUI tricks you need to know to get up and running.

Víctor de la Cruz
~ 8 years ago

I have Node installed through nvm, but after cloning the repo and trying to run the npm install through WebStorm (I needed to select and interpreter from a list since the IDE couldn't find one), I always get this:

/home/xuser/.nvm/versions/node/v6.0.0/bin/npm install
/usr/bin/env: «node»: File or directory not found

Any pointers on what could I do to fix it?

Fabricio
~ 8 years ago

Hey Victor, I use nvm too. Do you set up the correct node version in:

"Settings > Languages & Frameworks > Node.js & NPM"?

I had similar issues and they went away after I tinkered a little with the interpreter's version.