jasongilman / proto-repl-charts

An Atom Plugin extension for Proto REPL that allows displaying graphs.
MIT License
65 stars 4 forks source link

Failing while installing on Windows #1

Closed grindos closed 8 years ago

grindos commented 8 years ago

Installation of this package is failed and it gave me the next log:

> contextify@0.1.15 install C:\Users\grish\AppData\Local\Temp\apm-install-dir-116125-1944-1sbp8sr\node_modules\proto-repl-charts\node_modules\c3\node_modules\d3\node_modules\jsdom\node_modules\contextify
> node-gyp rebuild

C:\Users\grish\AppData\Local\Temp\apm-install-dir-116125-1944-1sbp8sr\node_modules\proto-repl-charts\node_modules\c3\node_modules\d3\node_modules\jsdom\node_modules\contextify>if not defined npm_config_node_gyp (node "C:\Users\grish\AppData\Local\atom\app-1.5.3\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.2.9200
npm ERR! argv "C:\\Users\\grish\\AppData\\Local\\atom\\app-1.5.3\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\grish\\AppData\\Local\\atom\\app-1.5.3\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\grish\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\grish\\.atom\\.apmrc" "install" "C:\\Users\\grish\\AppData\\Local\\Temp\\d-116125-1944-15dx1i2\\package.tgz" "--target=0.34.5" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR! contextify@0.1.15 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the contextify@0.1.15 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the contextify 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 contextify
npm ERR! There is likely additional logging output above.

My OS is Windows 10 and I already have the 'proto-repl' package in Atom.

jasongilman commented 8 years ago

The latest fix to switch to git referenced c3 doesn't resolve the issue for me on Windows. Now the install just hangs forever. I'm going to see if I can bundle the dependency next.

grindos commented 8 years ago

@jasongilman Yeah, I have the same situation now on my PC.

jasongilman commented 8 years ago

It was caused by a dependency on contextify by D3. Later versions don't do this. I forked c3, updated the d3 version and changed the dependency to do that. I was able to install proto repl charts on windows and get it to work.