Atom安装包每次都失败



环境为Windows 7 64bit和atom 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

这个怎么样

apm config set msvs_version 2013

或已安装的版本

这里有版本字符串:https://github.com/nodejs/node-gyp/blob/9049241f9181456a6fbe3b263bcedae504e0c571/gyp/pylib/gyp/MSVSVersion.py L229

另一个链接无法安装需要在Windows 7 x64/VS2012上编译的节点模块

这个怎么样

注意:Windows

例如${basedir}/AtomSetup.exe

1。

cd ${basedir}

2。

AtomSetup.exe install

试一试

最新更新