-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
addonsIssues and PRs related to native addons.Issues and PRs related to native addons.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
Description
I just upgraded Node from 5.11.1 to 6.5.0 (on latest MacOSX) and then started my node project again.
My project uses nodegit (with c-bindings). When starting the project I get this error message:
Error: Module version mismatch. Expected 48, got 47.
at Error (native)
at Object.Module._extensions..node (module.js:583:18)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/project-x/node_modules/nodegit/dist/nodegit.js:11:12)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
> [1] 79902 segmentation fault node
Obviously this error is caused by upgrading node and can be fixed quite easily by reinstalling the npm packages (post build scripts etc.). But for an inexperienced user this looks like something horrible just happened, particularly the "segmentation fault"-bit at the end.
It would be awesome if the error could be a little bit friendlier (and helpful)
princejwesley and ChALkeR
Metadata
Metadata
Assignees
Labels
addonsIssues and PRs related to native addons.Issues and PRs related to native addons.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.