npm早午餐停止在ubuntu 12.04,14.04,14.10上运行

时间:2015-08-05 11:29:39

标签: node.js ubuntu npm ubuntu-12.04 brunch

在我的应用程序中,我一直使用超过1年的早午餐,从昨天开始观察到突然它已停止运作。我收到错误以回复尝试运行命令" brunch watch"

No command 'brunch' found, did you mean:
 Command 'crunch' from package 'crunch' (universe)
 Command 'branch' from package 'rheolef' (universe)
brunch: command not found

所以,我尝试使用命令sudo npm install -g brunch再次安装早午餐,这导致了另一个错误:

npm WARN optional dep failed, continuing fsevents@0.3.7
npm ERR! Error: failed to fetch from registry: https://registry.npmjs.org/ansi-color
npm ERR!     at RegClient.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:159:18)
npm ERR!     at cb (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:57:9)
npm ERR!     at RegClient.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:137:16)
npm ERR!     at cb (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:166:9)
npm ERR!     at RegClient.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:320:12)
npm ERR!     at Request._callback (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:246:65)
npm ERR!     at Request.self.callback (/usr/lib/node_modules/npm/node_modules/request/request.js:236:22)
npm ERR!     at Request.emit (events.js:98:17)
npm ERR!     at Request.<anonymous> (/usr/lib/node_modules/npm/node_modules/request/request.js:1142:14)
npm ERR!     at Request.emit (events.js:117:20)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 3.16.0-38-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "brunch"
npm ERR! cwd /path/to/application
npm ERR! node -v v0.10.37
npm ERR! npm -v 1.4.28
npm ERR! not ok code 0

注意:上面的错误日志来自ubuntu 14.10和node -v v0.10.37以及npm -v 1.4.28。

非常感谢任何帮助。

0 个答案:

没有答案