Not working with Atom 1.0.19 and Windows 7 x64
nbish11 opened this issue · 5 comments
This is the output I recieved, it said to tell the author:
> oniguruma@5.1.1 install C:\Users\Nathan\AppData\Local\Temp\apm-install-dir-115912-31976-wawkel\node_modules\language-javascript-semantic\node_modules\first-mate\node_modules\oniguruma
> node-gyp rebuild
C:\Users\Nathan\AppData\Local\Temp\apm-install-dir-115912-31976-wawkel\node_modules\language-javascript-semantic\node_modules\first-mate\node_modules\oniguruma>if not defined npm_config_node_gyp (node "C:\Users\Nathan\AppData\Local\atom\app-1.0.19\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
gypnpm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Users\\Nathan\\AppData\\Local\\atom\\app-1.0.19\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\Nathan\\AppData\\Local\\atom\\app-1.0.19\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\Nathan\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\Nathan\\.atom\\.apmrc" "install" "C:\\Users\\Nathan\\AppData\\Local\\Temp\\d-115912-31976-ic5x8y\\package.tgz" "--target=0.30.7" "--arch=ia32" "--msvs_version=2013"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! oniguruma@5.1.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the oniguruma@5.1.1 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the oniguruma 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 oniguruma
npm ERR! There is likely additional logging output above.
Same issue with same OS and Atom version
I managed to solve this by installing node-gyp's dependencies: https://github.com/nodejs/node-gyp
Make sure to: install Python 2.7.3 and/or install it to C:\Python27 (not sure which is necessary because it worked after I uninstalled Python 2.7.10 and installed 2.7.3 to default location)
Also set the python
environment variable since the install doesn't do it automatically. (I suggest RapidEE as an alternative to the Windows program!)
Unfortunately, this does not work for me either.
This project is on hold pending resolution of atom#8669. I'm tired of chasing an undocumented private API.
Because the token data structure is not part of Atom's public API, it can (and does) get modified even between minor releases. I will not be updating this package anymore until that fundamental problem has been solved. There needs to be an "official" method for using non-regex-based tokenizers.
Ran into this issue again after updating Atom to v1.13.0... fixed it this time with:
apm install --global --production windows-build-tools
Note the apm
, had to install this using atom's package manager - for whatever reason, installing it directly with npm wasn't working.