You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Make sure the correct N-API version of the bindings is installed.
Don't rebuild with electron-forge or electron-rebuild.
For Electron 11+, use Node v10.20.0+ / v12.17.0+ / v14.0.0.
For Electron 10 and earlier, use an earlier Node version. Note: Just changing the node version is not sufficient - you may need to remove node_modules and install again.
Activity
FTAndy commentedon Nov 5, 2020
same issue
maitham commentedon Nov 18, 2020
+1
Christilut commentedon Jan 11, 2021
Same problem on Electron 11 here. Any fix for this yet?
rkistner commentedon Jan 11, 2021
Working to get a fix out in the next week or so.
Christilut commentedon Jan 11, 2021
Actually I upgraded my Node from 12.13 to 12.20 and this error is gone, but now the build fails like in #63
rkistner commentedon Jan 12, 2021
The general solution is:
For Electron 11+, use Node v10.20.0+ / v12.17.0+ / v14.0.0.
For Electron 10 and earlier, use an earlier Node version.
Note: Just changing the node version is not sufficient - you may need to remove
node_modulesand install again.For more details see the new notes: https://github.com/journeyapps/node-sqlcipher/blob/3870217c1245dd4253e2bac2ea8d1d12a8c4a2b6/README.md#usage-with-electron-forge--electron-rebuild.