小编Ser*_*gii的帖子

如何卸载损坏的 NPM?

问题很简单,解决方法应该很简单。有关我的问题的更多详细信息。检查npm

~ npm -version
>> 4.0.5
~ which npm
>> /usr/local/bin/npm
Run Code Online (Sandbox Code Playgroud)

尝试卸载:

~ sudo apt-get remove npm
>> Package 'npm' is not installed, so not removed
Run Code Online (Sandbox Code Playgroud)

好的,让我们安装它,而不是安装它:

~ sudo apt-get install npm
npm: Depends: nodejs but it will not be installed
       Depends: node-abbrev (> = 1.0.4) but it is not installed
       Depends: node-ansi but it will not be installed
       Depends: node-archy but it will not be installed
       Depends: node-block-stream but it will not be installed
       Depends: node-fstream (> …
Run Code Online (Sandbox Code Playgroud)

uninstall apt nodejs npm

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

apt ×1

nodejs ×1

npm ×1

uninstall ×1