领导让我去看看atom,他想用atom来写node程序。然后我下载了个atom ,发现是个类似于subtext的工具。这玩意能搞node么? 然后我再win7和ubuntu上安装atom-shell的时候都安装失败了,ubuntu上的错误信息如下: npm ERR! fetch failed https://registry.npmjs.org/mime-db/-/mime-db-1.8.0.tgz /usr/local/bin/atom-shell -> /usr/local/lib/node_modules/atom-shell/run.bat
[email protected] install /usr/local/lib/node_modules/atom-shell node install.js
Downloading atom-shell-v0.22.3-linux-ia32.zip Error: connect ECONNREFUSED
Error: connect ECONNREFUSED
npm ERR! [email protected] install: node install.js
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the atom-shell package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls atom-shell
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.13.0-46-generic npm ERR! command “/usr/local/bin/node” “/usr/local/bin/npm” “install” “atom-shell” "-g" npm ERR! cwd /home/hc npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.14 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/hc/npm-debug.log npm ERR! not ok code 0
看不懂啊!