lsegal / atom-rst-preview

Open a rendered version of the ReStructuredText in the current editor with `ctrl-shift-r`.
Other
22 stars 80 forks source link

Installation not successful, node-gyp rebuild fails #39

Open bilderbuchi opened 8 years ago

bilderbuchi commented 8 years ago

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

Installing “rst-preview@1.3.1” failed.Hide output…

> oniguruma@5.1.2 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 lodash@2.4.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^3.0.0.
npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: 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! 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! 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

igracia commented 8 years ago

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