我使用Ubuntu16.04,我删除了NPM,以便安装旧版本。(我不能精确地命令我所用的)。现在我不能再安装了。npm -v输出:bash: /usr/bin/npm: /usr/bin/nodejs: bad interpreter: No such file or directory which npm输出:/usr/bin/npm
curl -L http:
我试图安装nodejs和npm,但是它失败了。这是我的终点站:Reading package lists...following information may help to resolve the situation:
nodejs: Conflicts: npm
E: Unable to correct
我已经从源代码中正确地安装了节点、js,并且我正在尝试安装npm,但是我收到的错误与方法无关。我主要遵循这个链接:scripts/doc-build.sh: line 58: ./node_modules/.bin/marked: No such file or directory
make: *** [html/doc/api/npm