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 回答