小编Dav*_*lar的帖子

在Ubuntu上安装Node.js.

我正在尝试在Ubuntu 12.10上安装Node.js,但终端显示有关丢失软件包的错误.我试过这个:

sudo apt-get install python-software-properties 
sudo add-apt-repository ppa:chris-lea/node.js 
sudo apt-get update 
sudo apt-get install nodejs npm
Run Code Online (Sandbox Code Playgroud)

但是,当我来到最后一行时sudo apt-get install nodejs npm显示此错误:

Failed to install some packages. This may mean that
you requested an impossible situation or if you are using the distribution
distribution that some required packages have not yet been created or been
been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nodejs: Conflicts: npm …
Run Code Online (Sandbox Code Playgroud)

ubuntu node.js npm

198
推荐指数
6
解决办法
22万
查看次数

标签 统计

node.js ×1

npm ×1

ubuntu ×1