![](/img/trans.png)
[英]npm still installing packages to '/usr/local/Cellar/node/…' even though I've uninstalled Homebrew's version of node
[英]Uninstalled npm packages but they are still installed
我想重新安裝也門,但似乎一開始我無法擺脫它
當我運行npm remove -g yo bower grunt-cli
它會正常刪除,但是當我鍵入yo
我會看到普通的生成器菜單:
我如何擺脫所有發電機(如圖所示)並刪除也門重新安裝呢?
謝謝
編輯
username@username-Inspiron-3521:~/Documents/angular/testing2$ npm remove -g yo
npm WARN uninstall not installed in /home/username/npm/lib/node_modules: "yo"
username@username-Inspiron-3521:~/Documents/angular/testing2$ yo
? 'Allo username! What would you like to do? (Use arrow keys)
Run a generator
❯ Angular
Express Angular
Angular Fullstack
Karma
我必須刪除所有內容並重新開始。
要安裝最新的節點和npm: https ://gist.github.com/jsantana90/46c9bb977d5775df1516
並修復我遵循本教程的路徑: http : //www.competa.com/blog/2014/12/how-to-run-npm-without-sudo/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.