WebStorm 2017 and Angular-CLI

Hello,

I just upgraded to Webstorm 2017 and when I create a Angular-CLI, WebStorm is unable to find ng binary....After finding it in/usr/local/lib/node_modules/angular-cli, it creates an empty project without anything...

 

Is there something that I missed ?

 

Regards,

0
7 comments

What Angular-cli version do you use? For most recent versions, the correct path would be `/usr/local/lib/node_modules/@angular/cli`... And cli versions < beta.30 are not supported in 2017.1

0

I've upgraded to latest CLI version and it's working now...(but stop working with WebStorm 2016 due to removal of ng init command...)...

 

 

0

I have the same problem - I just created a new angular-cli project in the IDE.  No errors and a blank project was created.

0

whatWebstorm and cli versions do you use?

0

PHP Storm 2017.1 and the latest CLI.

0

Can't recreate with same PHPStorm version and latest cli (@angular/cli: 1.0.0, node: 6.10.0).

Please provide your idea.log (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files). Note: please don't paste its content here, put the file on file server and provide a link

0

If it's of any help...  I was having the same issue creating new projects until I quit the IDE completely and then restarted it after installing the latest angular-cli (apparently the install isn't recognized until you restart the IDE)

 

 

0

Please sign in to leave a comment.