atom-rst-preview icon indicating copy to clipboard operation
atom-rst-preview copied to clipboard

Installation not successful, node-gyp rebuild fails

Open bilderbuchi opened this issue 9 years ago • 1 comments

I tried to install rst-preview 1.3.1, and got this output:

Installing “[email protected]” failed.Hide output…

> [email protected] install C:\Users\buchner\AppData\Local\Temp\apm-install-dir-115113-4796-b86x17\node_modules\rst-preview\node_modules\highlights\node_modules\first-mate\node_modules\oniguruma
> node-gyp rebuild


C:\Users\buchner\AppData\Local\Temp\apm-install-dir-115113-4796-b86x17\node_modules\rst-preview\node_modules\highlights\node_modules\first-mate\node_modules\oniguruma>if not defined npm_config_node_gyp (node "C:\Users\buchner\AppData\Local\atom\app-1.2.4\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild ) 

npm WARN deprecated [email protected]: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^3.0.0.
npm WARN deprecated [email protected]: the module is now available as 'css-select'
npm WARN deprecated [email protected]: the module is now available as 'css-what'
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\buchner\\AppData\\Local\\atom\\app-1.2.4\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\buchner\\AppData\\Local\\atom\\app-1.2.4\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\buchner\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\buchner\\.atom\\.apmrc" "install" "C:\\Users\\buchner\\AppData\\Local\\Temp\\d-115113-4796-1c26h3r\\package.tgz" "--target=0.34.0" "--arch=ia32"
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.

This is on Windows 8.1, atom 1.2.4, pandoc 1.15.2

bilderbuchi avatar Dec 03 '15 15:12 bilderbuchi

Try installing it with apm. Just follow the instructions to install apm, and then run apm install rst-preview

igracia avatar May 04 '16 09:05 igracia