-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not found module './build/Release/native' from 'index.js' #39
Comments
This is not working to me. |
Running Node V6 LTS. Had to change index.js from:
to:
App now loads successfully. |
@rddill-IBM I had made the same change and work great on Node V6 and V7 |
Found that my issue was on multiple version of Node installed in /bin and also /usr/local/bin. |
With this library me to I had very difficult time until I figure out how I could solve some issues. As an example, It was impossible to compile the official version of it on latest OSX. |
I install version 2.0.2 and on runtime I have this error:
Cannot find module './build/Release/native' from 'index.js'
I have a workaround by change first line of
index.js
fromvar HashTable = require('./build/Release/native').HashTable;
tovar HashTable = require('./build/Release/native.node').HashTable;
I am currently working on Ubuntu 16.04 OS.
The text was updated successfully, but these errors were encountered: