atom编辑器安装插件报错。。

Checking for native build tools failed

gyp info it worked if it ends with ok
gyp info using node-gyp@3.4.0
gyp info using node@8.9.3 | win32 | x64
gyp http GET https://atom.io/download/electron/v2.0.9/iojs-v2.0.9.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: connect ETIMEDOUT 52.54.84.112:443
gyp ERR! stack     at Object._errnoException (util.js:1024:11)
gyp ERR! stack     at _exceptionWithHostPort (util.js:1046:20)
gyp ERR! stack     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Users\\73583\\AppData\\Local\\atom\\app-1.32.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\73583\\AppData\\Local\\atom\\app-1.32.0\\resources\\app\\apm\\node_modules\\node-gyp\\bin\\node-gyp.js" "install" "--runtime=electron" "--target=2.0.9""--dist-url=https://atom.io/download/electron" "--arch=x64" "--ensure"
gyp ERR! cwd C:\Users\73583\.atom
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

  遇到这个报错,大家请

 npm install -g node-gyp

  闲话不多说。就这样吧

posted @ 2018-10-28 18:16  不拆贱人  阅读(989)  评论(0编辑  收藏  举报