Closed canfoderiskii closed 8 years ago
npm ERR! Darwin 15.4.0 npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/michael/.atom/.apm/.apmrc" "--userconfig" "/Users/michael/.atom/.apmrc" "install" "/private/var/folders/46/m90w174917j3z7_sgy3jsb8h0000gn/T/d-116321-13979-jxbquj/package.tgz" "--target=0.36.8" "--arch=x64" npm ERR! node v0.10.40 npm ERR! npm v2.13.3 npm ERR! code ELIFECYCLE
npm ERR! ptyw.js@0.3.7 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ptyw.js@0.3.7 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the ptyw.js package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls ptyw.js
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /private/var/folders/46/m90w174917j3z7_sgy3jsb8h0000gn/T/apm-install-dir-116321-13979-1ltzqee/npm-debug.log
In my error output, is this argument "--arch=ia32" correct? My computer cpu is i7-4700. The architecture is x86 not ia32.
So, does the "--arch=ia32" indicate more or less error source?
Gyp requires Python 2.7 and Visual Studio 2013.
Visual Studio 2015 won't work, since one of the commands uses --msvs_version=2013
.
Are both installed?
If yes, what version of python is used python --version
@MatthiasF999 is the visual studio 2013 you mentioned actually visual c++ 2013 runtime library? do i have to install the whole visual studio 2013? About python, i am using python 3.5
@MatthiasF999 Ok, i digged some infomation. It seems i have to install the whole package of visual studio. Is the community version of vs2013 able to make node-gyp work?
Problem solved! In general, I have to install python 2.7, visual studio 2013 and python module gyp.
@MichaelIT maybe u can see the node-gyp installation document as a reference for compiler selection on Mac OS X.
@MatthiasF999 Thanks for your reply, it really helps a lot.
Atom Version: 1.7.2
I just tried to install atom-term3 package from Setting-install page, but failed.
What should i do to solve this problem or do some workarounds..
Here is the error output: