-
Notifications
You must be signed in to change notification settings - Fork 66
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
N-API version #53
Comments
same issue |
+1 |
Same problem on Electron 11 here. Any fix for this yet? |
Working to get a fix out in the next week or so. |
Actually I upgraded my Node from 12.13 to 12.20 and this error is gone, but now the build fails like in #63 |
The general solution is:
For Electron 11+, use Node v10.20.0+ / v12.17.0+ / v14.0.0. For more details see the new notes: https://github.com/journeyapps/node-sqlcipher/blob/3870217c1245dd4253e2bac2ea8d1d12a8c4a2b6/README.md#usage-with-electron-forge--electron-rebuild. |
When installing on windows everything is fine, but on mac I get this:
Cannot find module '.../node_modules/@journeyapps/sqlcipher/lib/binding/napi-v3-darwin-x64/node_sqlite3.node'
And I have napi-v6-darwin-x64 in binding folder
In console I get this as well:
node-pre-gyp info This Node instance does not support builds for N-API version 6
I even lowered node from 14.x to 12.18.4
Also Ive tried building from source and issue persists
Any advice?
The text was updated successfully, but these errors were encountered: