You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed via npm install -g gitwalk as directed, but running gitwalk produces
module.js:472
throw err;
^
Error: Cannot find module '../build/Debug/nodegit.node'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/adam/.npm-packages/lib/node_modules/gitwalk/node_modules/nodegit/lib/nodegit.js:16:12)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
This seems to be the exact issue described by nodegit/nodegit#137, and to some extent nodegit/nodegit#521. According to a comment by @maxkorp, it seems that the nodegit folks were intending to make this error message less cryptic, but didn't get round to it yet. Anyway I found that I could fix this via:
cd ~/.npm-packages/lib/node_modules/gitwalk/node_modules/nodegit
npm install
This forced a build from source, and now it's working.
The text was updated successfully, but these errors were encountered:
I installed via
npm install -g gitwalk
as directed, but running gitwalk producesThis seems to be the exact issue described by nodegit/nodegit#137, and to some extent nodegit/nodegit#521. According to a comment by @maxkorp, it seems that the nodegit folks were intending to make this error message less cryptic, but didn't get round to it yet. Anyway I found that I could fix this via:
This forced a build from source, and now it's working.
The text was updated successfully, but these errors were encountered: