0

yoemen の新規インストールを開始したいのですが、そもそも削除できないようです

実行するnpm remove -g yo bower grunt-cliと正常に削除されますが、入力yoすると通常のジェネレーターメニューが表示されます。

ここに画像の説明を入力

すべてのジェネレーター (図に示されているもの) を削除し、yoemen を削除して再インストールするにはどうすればよいですか?

ありがとうございました

編集

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 
4

1 に答える 1

0

I had to remove everything and start over again.

To install latest node and npm: https://gist.github.com/jsantana90/46c9bb977d5775df1516

and to fix the path I followed this tutorial: http://www.competa.com/blog/2014/12/how-to-run-npm-without-sudo/

于 2015-11-02T21:14:37.083 に答える