Atom editor 安装&x201C;原子-typescript@8.5.0”;进入GitHub';s的Atom编辑器失败

Atom editor 安装&x201C;原子-typescript@8.5.0”;进入GitHub';s的Atom编辑器失败,atom-editor,Atom Editor,我正在尝试为GitHub的Atom编辑器安装软件包。当我按下安装按钮时,它会显示以下错误消息 Installing "atom-typescript@8.5.0" failed. gyp info it worked if it ends with ok gyp info using node-gyp@2.0.2 gyp info using node@0.10.40 | win32 | ia32 gyp http GET https://atom.io/download/at

我正在尝试为GitHub的Atom编辑器安装软件包。当我按下安装按钮时,它会显示以下错误消息

Installing "atom-typescript@8.5.0" failed.

  gyp info it worked if it ends with ok
  gyp info using node-gyp@2.0.2
  gyp info using node@0.10.40 | win32 | ia32
  gyp http GET https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz
  gyp http 200 https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz
  gyp http GET https://atom.io/download/atom-shell/v0.34.5/SHASUM256.txt
  gyp http GET https://atom.io/download/atom-shell/v0.34.5/node.lib
  gyp http GET https://atom.io/download/atom-shell/v0.34.5/x64/node.lib
  gyp http 200 https://atom.io/download/atom-shell/v0.34.5/x64/node.lib
  gyp http 200 https://atom.io/download/atom-shell/v0.34.5/node.lib
  gyp warn install got an error, rolling back 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
我想不出是什么问题

有人遇到过同样的问题吗


您可以通过关闭Atom的所有实例,然后发出以下命令,尝试从命令行安装:

apm install atom-typescript
如果这不是新安装,则您需要先卸载以前的软件包:

apm uninstall atom-typescript
如果收到相同的错误消息,您可以从Atom/apm的角度检查本机工具是否已实际安装:

apm install --check

如果后一个命令失败,则您可以使用任何详细信息更新问题。

您可以手动安装它

CD至
~/.atom/packages
从github克隆项目

git clone https://github.com/TypeStrong/atom-typescript
cd至

   atom-typescript

npm install

重新启动atom。

这是全新安装的
atom typescript
,您使用的是哪个版本的atom,以及您安装了哪些其他软件包(如果有的话)?我刚刚试用了它,并成功地将其安装在最新的Beta版Atom 1.7.0-beta4中。