After successfully running npm install --save nodegit, a subsequent npm rebuild yields:
> nodegit@0.4.0 install /Users/michael/whatever/node_modules/nodegit
> node lifecycleScripts/install
module.js:340
throw err;
^
Error: Cannot find module '/Users/michael/whatever/node_modules/nodegit/lifecycleScripts/install'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:935:3
Probably because the install script deletes the lifecycleScripts directory!
After successfully running
npm install --save nodegit, a subsequentnpm rebuildyields:Probably because the install script deletes the lifecycleScripts directory!
nodegit/lifecycleScripts/clean.js
Line 46 in 0841799