2016-04-01 50 views
2

我正在尝试为GitHub的Atom编辑器安装atom-typescript软件包。当我按下安装按钮时,它显示以下错误消息。将“[email protected]”安装到GitHub的Atom编辑器失败

Installing "[email protected]" failed. 

    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/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 

找不出什么问题。

有没有人遇到同样的问题?

Image displaying the error

+0

这是一个全新的'atom-typescript'安装,你正在使用哪个版本的Atom,以及你已经安装了哪些其他软件包(如果有的话)?我刚刚尝试过,并成功安装在最新的Beta版“Atom 1.7.0-beta4”中。 –

回答

0

您可以尝试关闭原子的所有实例,然后发出以下命令在命令行安装:

apm install atom-typescript 

如果这不是一个新的安装,那么你将要卸载先前的软件包第一个:

apm uninstall atom-typescript 

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

apm install --check 

如果后者命令失败,那么您可以更新您的问题的任何细节。

1

,您可以在手动安装,而不是

光盘~/.atom/packages 克隆从GitHub项目,

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

光盘

atom-typescript 

和运行

npm install 

重新启动原子。

相关问题