Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js ubuntu上的npm更新问题_Node.js_Ubuntu_Npm_Bower - Fatal编程技术网

Node.js ubuntu上的npm更新问题

Node.js ubuntu上的npm更新问题,node.js,ubuntu,npm,bower,Node.js,Ubuntu,Npm,Bower,我在Ubuntu12上使用node-v0.10.25和NPM1.3.24。我正在尝试安装bower,但下列任一命令出现以下错误: npm install bower npm install -g bower sudo npm install bower 错误 19560 error code EPEERINVALID 任何关于修复它的想法都将不胜感激 我曾考虑升级node和npm(在任何情况下我都会升级),但目前使用的工作如下: sudo npm install -g bower npm

我在Ubuntu12上使用node-v0.10.25和NPM1.3.24。我正在尝试安装bower,但下列任一命令出现以下错误:

npm install bower 
npm install -g bower
sudo npm install bower
错误

19560 error code EPEERINVALID

任何关于修复它的想法都将不胜感激

我曾考虑升级node和npm(在任何情况下我都会升级),但目前使用的工作如下:

sudo npm install -g bower

npm@1.3.24
已经一岁多了。你能试试吗?