-
Notifications
You must be signed in to change notification settings - Fork 62
'npm install contextify' error on Ubuntu 14.04 #171
Comments
Same trouble here. Npm log: Any solutions? |
Someone e-mailed me about this recently, and this fix worked for them: atom/atom#1981 (comment) |
Thanks. I now realize that i had a bit different problem. "sudo apt-get -y install g++" did the trick for me. |
Same problem on mac with iojs latest version. |
Debug Log.
|
I just got this same error on Windows trying to install. I know that I have yet to install Python for recompiling python executables, but this has not been a fatal error so far, if NPM is installing binaries. Now it seems to be generating an error due to "contextify": npm ERR! Windows_NT 6.1.7601 npm ERR! contextify@0.1.14 install: |
I installed Python 2.7 (on Windows 7) with the Windows PATH variable modified so that I would not get the node-gyp errors when node-gyp asks for Python. I now have a command line that hangs at some sort of batch file processing. Note that below I attempted to terminate the installation after waiting about fifteen minutes while doing other things. NPM gave me a "Terminate batch job (Y?N)?" message. And it seems that contextify is causing the problem AGAIN. Note that the error occurs where contextify seems to be invoking node-gyp:
There is something seriously wrong with Contextify if it is ruining people's ability to install projects. |
The problem may be node-gyp, and it looks to me like the solution is such a nightmare that whoever is in charge of the overall Node project should consider UPDATING node-gyp so that it works well on current windows without having to install a bunch of extra microsoft software and updates. Node software should not be dependent on Microsoft Visual Studio ($$$), for example. https://www.robertkehoe.com/2015/03/fix-node-gyp-rebuild-error-on-windows/ |
The approach of @oyvindma worked for me. Just type |
might be a dup of #188 |
The text was updated successfully, but these errors were encountered: