【发布时间】:2017-07-05 10:36:48
【问题描述】:
我已经完全卸载了 nodejs/npm。
但是,他们似乎在安装时始终抛出相同的错误。 我也试过 sudo-apt get update sudo apt cache verify 和 apt cache search,当我搜索 nodejs 时找不到或 npm。
The program 'nodejs' is currently not installed. You can install it by typing:
sudo apt-get install nodejs
当我执行 sudo apt-get intall nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nodejs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'nodejs' has no installation candidate
我已确保 nodejs/npm 已从 /usr/bin 等中删除。似乎仍然无法正常工作。
【问题讨论】:
标签: node.js npm installation