language-javascript-semantic icon indicating copy to clipboard operation
language-javascript-semantic copied to clipboard

Not working with Atom 1.0.19 and Windows 7 x64

Open nbish11 opened this issue 10 years ago • 5 comments
trafficstars

This is the output I recieved, it said to tell the author:

> [email protected] 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! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] 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.

nbish11 avatar Oct 12 '15 13:10 nbish11

Same issue with same OS and Atom version

jurStv avatar Oct 12 '15 18:10 jurStv

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!)

reohjs avatar Nov 02 '15 12:11 reohjs

Unfortunately, this does not work for me either.

nbish11 avatar Nov 02 '15 15:11 nbish11

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.

p-e-w avatar Dec 11 '16 05:12 p-e-w

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.

reohjs avatar Jan 18 '17 00:01 reohjs