ReactNative学习五-Atom安装

前端之家收集整理的这篇文章主要介绍了ReactNative学习五-Atom安装前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1.Atom下载地址@H_301_7@:https://atom.io/


2.安装Atom插件@H_301_7@Nuclide

直接打开Atom软件,点击Atom@H_301_7@->Preferences打开Setting@H_301_7@,然后点击@H_301_7@install,输入nuclide-installer@H_404_36@

@H_404_36@

@H_404_36@3. 安装出错

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/packages
gitclonehttps://github.com/emmetio/emmet-atom
cdemmet-atom
npminstall

最后说一句,到处都是坑!呵呵!

原文链接:https://www.f2er.com/react/306957.html

猜你在找的React相关文章