2015-11-02 87 views
0

我要開始yoemen的全新安裝,但似乎我不能在第一時間卸載NPM包,但他們仍然安裝

擺脫它,當我運行npm remove -g yo bower grunt-cli它正常,但刪除時我型我yo得到正常的發電機菜單:

enter image description here

如何擺脫所有的發電機(圖中所示的那些),並刪除yoemen重新安裝呢?

謝謝

編輯

[email protected]:~/Documents/angular/testing2$ npm remove -g yo 
npm WARN uninstall not installed in /home/username/npm/lib/node_modules: "yo" 
[email protected]:~/Documents/angular/testing2$ yo 
? 'Allo username! What would you like to do? (Use arrow keys) 
    Run a generator 
❯ Angular 
    Express Angular 
    Angular Fullstack 
    Karma 
+0

而如果你嘗試'NPM刪除yo'的發生呢? – TGrif

+0

@TGrif我已經編輯了這個問題,當我按照你的要求做什麼時發生了什麼 –

+0

'type yo'和'realpath $(type -p yo)'是什麼意思? – eush77

回答