Title: Require generating error · Issue #329 · nodegit/nodegit · GitHub
Open Graph Title: Require generating error · Issue #329 · nodegit/nodegit
X Title: Require generating error · Issue #329 · nodegit/nodegit
Description: I'm getting the following error when I add require('nodegit') to my project. module.js:340 throw err; ^ Error: Cannot find module '../build/Debug/nodegit' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (m...
Open Graph Description: I'm getting the following error when I add require('nodegit') to my project. module.js:340 throw err; ^ Error: Cannot find module '../build/Debug/nodegit' at Function.Module._resolveFilename (modul...
X Description: I'm getting the following error when I add require('nodegit') to my project. module.js:340 throw err; ^ Error: Cannot find module '../build/Debug/nodegit' at Function.Module._re...
Opengraph URL: https://github.com/nodegit/nodegit/issues/329
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Require generating error","articleBody":"I'm getting the following error when I add `require('nodegit')` to my project.\n\n```\nmodule.js:340\n throw err;\n ^\nError: Cannot find module '../build/Debug/nodegit'\n at Function.Module._resolveFilename (module.js:338:15)\n at Function.Module._load (module.js:280:25)\n at Module.require (module.js:364:17)\n at require (module.js:380:17)\n at Object.\u003canonymous\u003e (/vagrant/node_modules/nodegit/lib/nodegit.js:12:12)\n at Module._compile (module.js:456:26)\n at Object.Module._extensions..js (module.js:474:10)\n at Module.load (module.js:356:32)\n at Function.Module._load (module.js:312:12)\n at Module.require (module.js:364:17)\nerror: Forever detected script exited with code: 8\nerror: Script restart attempt #1\n```\n\nI went ahead and add a `console.log(e)` on line 12 of lib/nodegit.js and got the following:\n\n```\n[Error: /vagrant/node_modules/nodegit/build/Release/nodegit.node: invalid ELF header]\n```\n\nThoughts?\n","author":{"url":"https://github.com/bbone87","@type":"Person","name":"bbone87"},"datePublished":"2014-12-16T00:14:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/329/nodegit/issues/329"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:05de7e16-2f1c-7048-6273-d915b846ede0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B412:56614:437363C:5D3B5D0:6A5E1ADC |
| html-safe-nonce | 0432a1fffa61acbea72d570cba5a95b90e77baa65e85727a3e194a64facf42bf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDEyOjU2NjE0OjQzNzM2M0M6NUQzQjVEMDo2QTVFMUFEQyIsInZpc2l0b3JfaWQiOiIzMTg3MzE4MzU2MjUwMDczODIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0ab990a11376faa28f4022f0a13b8df6f4ae6ffc931d65881b1b853e236e9d91 |
| hovercard-subject-tag | issue:52057366 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodegit/nodegit/329/issue_layout |
| twitter:image | https://opengraph.githubassets.com/37a4546f896bbf560acc0d198ab1cedde1412bf99642e9baac7666106475e74b/nodegit/nodegit/issues/329 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/37a4546f896bbf560acc0d198ab1cedde1412bf99642e9baac7666106475e74b/nodegit/nodegit/issues/329 |
| og:image:alt | I'm getting the following error when I add require('nodegit') to my project. module.js:340 throw err; ^ Error: Cannot find module '../build/Debug/nodegit' at Function.Module._resolveFilename (modul... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bbone87 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7a60e060dad2c24f72179d36247204b454da37845d1728020cd42046a433f87f |
| turbo-cache-control | no-preview |
| go-import | github.com/nodegit/nodegit git https://github.com/nodegit/nodegit.git |
| octolytics-dimension-user_id | 657068 |
| octolytics-dimension-user_login | nodegit |
| octolytics-dimension-repository_id | 1383170 |
| octolytics-dimension-repository_nwo | nodegit/nodegit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1383170 |
| octolytics-dimension-repository_network_root_nwo | nodegit/nodegit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0ae7f3ea7b1bb2f1f4623bb093bbf54cee05d830 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width