Open whizkydee opened 8 years ago
@Whizkydee could you share the error logs?
@bcoe Here C:\WINDOWS\system32>npm install highlights
oniguruma@5.1.2 install C:\WINDOWS\system32\node_modules\oniguruma node-gyp rebuild
C:\WINDOWS\system32\node_modules\oniguruma>if not defined npm_config_node_gyp (n ode "C:\Users\kayolawuyi\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\ ....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild ) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT HON env variable. gyp ERR! stack at failNoPython (C:\Users\kayolawuyi\AppData\Roaming\npm\node _modules\npm\node_modules\node-gyp\lib\configure.js:401:14) gyp ERR! stack at C:\Users\kayolawuyi\AppData\Roaming\npm\node_modules\npm\n ode_modules\node-gyp\lib\configure.js:356:11 gyp ERR! stack at FSReqWrap.oncomplete (fs.js:82:15) gyp ERR! System Windows_NT 6.3.9600 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\kayolawuyi\A ppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.j s" "rebuild" gyp ERR! cwd C:\WINDOWS\system32\node_modules\oniguruma gyp ERR! node -v v4.2.4 gyp ERR! node-gyp -v v3.2.1 gyp ERR! not ok C:\WINDOWS\system32 ├─┬ event-kit@1.5.0 │ └─┬ grim@1.5.0 │ └─┬ emissary@1.3.3 │ ├─┬ es6-weak-map@0.1.4 │ │ ├── d@0.1.1 │ │ ├─┬ es5-ext@0.10.11 │ │ │ ├── es6-iterator@2.0.0 │ │ │ └── es6-symbol@3.0.2 │ │ ├── es6-iterator@0.1.3 │ │ └── es6-symbol@2.0.1 │ ├── mixto@1.0.0 │ └── property-accessors@1.1.3 ├─┬ first-mate-select-grammar@1.0.1 │ └── lodash@3.10.1 ├─┬ once@1.3.3 │ └── wrappy@1.0.1 ├─┬ optimist@0.6.1 │ ├── minimist@0.0.10 │ └── wordwrap@0.0.3 └─┬ season@5.3.0 ├─┬ cson-parser@1.0.9 │ └── coffee-script@1.9.0 ├─┬ fs-plus@2.8.1 │ ├── async@0.2.10 │ ├── mkdirp@0.3.5 │ ├── rimraf@2.2.8 │ └─┬ underscore-plus@1.6.6 │ └── underscore@1.6.0 └── optimist@0.4.0
npm WARN enoent ENOENT: no such file or directory, open 'C:\WINDOWS\system32\pac kage.json' npm WARN system32 No description npm WARN system32 No repository field. npm WARN system32 No README data npm WARN system32 No license field. npm ERR! Windows_NT 6.3.9600 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\kayolawuyi\AppD ata\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "highlights" npm ERR! node v4.2.4 npm ERR! npm v3.5.3 npm ERR! code ELIFECYCLE
npm ERR! oniguruma@5.1.2 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the oniguruma@5.1.2 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, 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 information on how to open an issue for this project with:
npm ERR! npm bugs oniguruma
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls oniguruma
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! C:\WINDOWS\system32\npm-debug.log
Tried installing on three different PCs
Highlights requires oniguruma, which requires a a C++ build chain, see: https://github.com/nodejs/node-gyp/issues/629
I think this problem is related to the missing gyp dependency and not npm.
@bcoe Thanks, I'll try figuring it out.
got the same issue, any one knows how to solve it?
as explains in a referenced issue:
python --version
in the console.
apm config -g set msvs_version 2015
apm install highlights
@ldez thanks! I will try it today!!! :+1: just try it and it works!!! great thanks
npm install highlights
fails on latest NPM version. Returns error