| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| } | ||
|
|
||
| return exec("node " + path.join(rootPath, "dist/nodegit.js")) | ||
| return exec("node \"" + path.join(rootPath, "dist/nodegit.js\"")) |
There was a problem hiding this comment.
I feel like return exec("node \"" + path.join(rootPath, "dist/nodegit.js\"")) should instead be return exec("node \"" + path.join(rootPath, "dist/nodegit.js") + "\"") but this has been open for long enough. I'll fix that in a later PR.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
After installing nodegit in a directory which had spaces along its path, the postinstall script crashed as a result (Error: Cannot find module 'C:\<path up to the first space>') - wrapping this node call's target in quotes fixes the issue.