rendrjs/rendr

rendr does not install on Windows

Closed this issue · 1 comments

I tried many a times to do "npm install" in rendr-app-template repo, but during the ./scripts/postinstall.js execution, the rendr install fails abruptly. [On OS X, it went smoothly though.].

Not sure if its specific to my environment ..

(Using GitShell for shell environment)
Windows 8 x64,
$ node --version
v0.10.5
$ npm --version
1.2.9
<<<

Please confirm if this indeed an issue (i.e. not specific to my env), then I can volunteer to try fixing and provide a pull request.

This is a known issue with how NodeJS handles executing batch files on Windows machines. The npm "executable" in the PATH on Windows is actually a batch file being called. When using child_process.spawn('npm') in postinstall.js it is failing.

I have a temporary workaround for Windows here because I'm not sure how or when this issue will end up getting resolved on the Node side of things.