Reputation: 3696
I am trying to install the atom-typescript package for GitHub's Atom Editor. When I press the install button it displays following error message.
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
Can't figure out what's the problem.
Has anybody encountered the same issue?
Upvotes: 2
Views: 1479
Reputation: 18763
you can install it manually instead
CD to ~/.atom/packages
clone the project from github,
git clone https://github.com/TypeStrong/atom-typescript
cd to
atom-typescript
and run
npm install
restart atom.
Upvotes: 1
Reputation: 6368
You can try to install from the command line by closing all instances of Atom then issuing the following command:
apm install atom-typescript
If this is not a fresh install then you will want to uninstall the previous package first:
apm uninstall atom-typescript
If you get the same error message you can check to see if the native tools are actually installed from Atom / apm's perspective:
apm install --check
If the latter command fails then you can update your question with any details.
Upvotes: 0