简体   繁体   中英

Can not uninstall globally installed npm package

Running npm uninstall -g angular2@2.0.0-beta.17

does not remove the folder under:

C:\Users\MyUserName\AppData\Roaming\npm\node_modules\angular2

the CMD waits for 1 second then a new line is created and nothing really happened.

How can I remove the globally installed package then the correct way?

Probably you specify the wrong name or version. Try just: npm uninstall -g angular2

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