Compiler tools not found

使用atom安装markdown扩展插件时报错:

Installing “[email protected]” failed.Hide output…

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | ia32
gyp http GET https://atom.io/download/electron/v1.6.9/iojs-v1.6.9.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: connect ETIMEDOUT 52.216.65.224:443
gyp ERR! stack at Object.exports._errnoException (util.js:1022:11)
gyp ERR! stack at exports._exceptionWithHostPort (util.js:1045:20)
gyp ERR! stack at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
gyp ERR! System Windows_NT 10.0.15063
gyp ERR! command “C:\Users\dell\AppData\Local\atom\app-1.21.0\resources\app\apm\bin\node.exe” “C:\Users\dell\AppData\Local\atom\app-1.21.0\resources\app\apm\node_modules\node-gyp\bin\node-gyp.js” “install” “–runtime=electron” “–target=1.6.9” “–dist-url=https://atom.io/download/electron” “–arch=ia32” “–ensure”
gyp ERR! cwd C:\Users\dell.atom
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

下面还显示:

Compiler tools not found
Packages that depend on modules that contain C/C++ code will fail to install.
Read here for instructions on installing Python and Visual Studio.
Run apm install –check after installing to test compiling a native module.

于是cmd输入下面命令:

apm install –check

结果显示如下:
Compiler tools not found_第1张图片

解决方法在:
https://segmentfault.com/q/1010000007092231

你可能感兴趣的:(nodejs,解决问题)