Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
undefined symbol: node_module_register #1477
How did you fix this? I am getting a similar error when including bcrypt 0.8.4.
I have tried removing the node modules and reinstalling them to hopefully recompile bcrypt with the appropriate node version. I know node_module_register was added in v.11 somewhere.
For us, it was because we installed node 0.10.x a long time ago globally
The solution, was to delete all references to node in
Hope that helps.
Thanks for the quick response.
I did a whereis node and got four different locations. All of them appear to be v 0.12. This issue only happens when you try to compile bcrypt with node v.10. Is there any way that you know of to find any older versions of node?
I searched the following places:
Another thing that's weird is that if I run node interactively, and I require bcrypt, it works fine.
If I require bcrypt in any kind of .js script, I get the dreaded:
Any other tips you may have?