环境是Windows 7 64位和原子1.0.5
atom可以正常使用,但不能安装任何包。
错误信息:
Installing “vim-mode@0.57.0” failed.Hide output…
gyp info it worked if it ends with ok
gyp info using node-gyp@1.0.2
gyp info using node@0.10.35 | win32 | ia32
gyp http GET https://atom.io/download/atom-shell/v0.22.0/node-v0.22.0.tar.gz
gyp http 200 https://atom.io/download/atom-shell/v0.22.0/node-v0.22.0.tar.gz
gyp WARN install
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.
apm -v
输出:
apm 1.0.1
npm 2.5.1
node 0.10.35
python 2.7.10
git 1.9.5.msysgit.1
visual studio 2013
答案 0 :(得分:0)
这个怎么样
apm config set msvs_version 2013
或已安装的版本
另一个链接Cannot install node modules that require compilation on Windows 7 x64/VS2012
答案 1 :(得分:0)
这个怎么样
注意:仅限Windows
例如$ {basedir} /AtomSetup.exe
1
cd ${basedir}
2
AtomSetup.exe install
试一试。