node.js - npm brunch stop functioning on ubuntu 12.04, 14.04, 14.10 -


i have been using brunch more 1 year in application, yesterday has been observed has stopped functioning. getting error in return attempt run command "brunch watch"

no command 'brunch' found, did mean:  command 'crunch' package 'crunch' (universe)  command 'branch' package 'rheolef' (universe) brunch: command not found 

so, tried install brunch again command sudo npm install -g brunch resulted in error:

npm warn optional dep failed, continuing fsevents@0.3.7 npm err! error: failed fetch registry: https://registry.npmjs.org/ansi-color npm err!     @ regclient.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:159:18) npm err!     @ cb (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:57:9) npm err!     @ regclient.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:137:16) npm err!     @ cb (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:166:9) npm err!     @ regclient.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:320:12) npm err!     @ request._callback (/usr/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:246:65) npm err!     @ request.self.callback (/usr/lib/node_modules/npm/node_modules/request/request.js:236:22) npm err!     @ request.emit (events.js:98:17) npm err!     @ request.<anonymous> (/usr/lib/node_modules/npm/node_modules/request/request.js:1142:14) npm err!     @ request.emit (events.js:117:20) npm err! if need help, may report *entire* log, npm err! including npm , 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 

note: above error log ubuntu 14.10 , node -v v0.10.37 , npm -v 1.4.28.

any appreciated.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -