Skip to content
This repository has been archived by the owner on Nov 11, 2018. It is now read-only.

Not working with Atom 1.0.19 and Windows 7 x64 #34

Open
nbish11 opened this issue Oct 12, 2015 · 5 comments
Open

Not working with Atom 1.0.19 and Windows 7 x64 #34

nbish11 opened this issue Oct 12, 2015 · 5 comments

Comments

@nbish11
Copy link

nbish11 commented Oct 12, 2015

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.
@jurStv
Copy link

jurStv commented Oct 12, 2015

Same issue with same OS and Atom version

@reohjs
Copy link

reohjs commented Nov 2, 2015

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

@nbish11
Copy link
Author

nbish11 commented Nov 2, 2015

Unfortunately, this does not work for me either.

@p-e-w
Copy link
Owner

p-e-w commented Dec 11, 2016

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.

@reohjs
Copy link

reohjs commented Jan 18, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants