![](/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.