卸载了 npm 包,但它们仍然安装

Uninstalled npm packages but they are still installed

我想开始全新安装 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 

我不得不删除所有内容并重新开始。

要安装最新的节点和 npm: https://gist.github.com/jsantana90/46c9bb977d5775df1516

并修复我遵循本教程的路径: http://www.competa.com/blog/2014/12/how-to-run-npm-without-sudo/