简体   繁体   中英

Link angular-cli to WebStorm

I have a little problem with npm -- it is not linking the global modules to command line. Angluare-cli is installed as global module but WebStorm could not find it.

How could I tell WebStorm where to search for angular-cli ?

The solution that worked for me was to use Node v6 instead of v4. It would be wise to remove all global packages and empty your npm cache npm cache clean before uninstalling v4. After you install Node 6, install angular-cli globally again with npm install -g angular-cli and restart WebStorm. You should now be able to create a new Angular CLI project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM