1.Atom下载地址@H_301_7@:https://atom.io/
直接打开Atom软件,点击Atom@H_301_7@->Preferences打开Setting@H_301_7@,然后点击@H_301_7@install,输入nuclide-installer@H_404_36@
@H_404_36@
gyp info it worked if it ends with ok
gyp info using node-gyp@0.12.2
gyp info using node@0.10.32 | darwin | x64
gyp http GET https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.18.0/node-v0.18.0.tar.gz
gyp WARN install got an error,rolling back install gyp ERR! install error gyp ERR! stack Error: connect ETIMEDOUT gyp ERR! stack at errnoException (net.js:904:11) gyp ERR! stack at Object.afterConnect [as oncomplete] (net.js:895:19) gyp ERR! System Darwin 14.0.0 gyp ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/atom-package-manager/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "install" "--target=0.18.0" "--dist-url=https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist" "--arch=x64" gyp ERR! cwd /Users/integ/.atom gyp ERR! node -v v0.10.32 gyp ERR! node-gyp -v v0.12.2 gyp ERR! not ok
4.解决方案--手动安装,例如:
cd~/.atom/packagesgitclonehttps://github.com/emmetio/emmet-atomcdemmet-atomnpminstall
最后说一句,到处都是坑!呵呵!
原文链接:https://www.f2er.com/react/306957.html