好久没来了,有几个问题想问问
发布于 8 年前 作者 hc2014 6649 次浏览 最后一次编辑是 6 年前 来自 问答

领导让我去看看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

atom-shell@0.22.3-1 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! atom-shell@0.22.3-1 install: node install.js npm ERR! Exit status 8 npm ERR! npm ERR! Failed at the atom-shell@0.22.3-1 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

看不懂啊!

6 回复

我擦,好像是不支持Linux 和win7是吧?

别听领导的,自选IDE

现在用的sublime,体积小,还想试试webstorm

WebStrom用起来不错,建议楼主试试

如果可以的话,建议你直接从github上download一份,然后自己npm依赖, untitled1.png 这个表明不是npm的问题

回到顶部