-
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
node-pre-gyp info This Node instance does not support builds for N-API version 6 #68
Comments
Please check #65. |
Hi, @rkistner again, I've created a playground repo to test the new version https://github.com/ajmasia/electron-sqlite-playground I'm using Electron 9.0.0 and Node v10.19.0 that's support N_API 3 Dependence is built correctly: When you remove the pragma config works fine // This is the default, but it is good to specify explicitly:
db.run('PRAGMA cipher_compatibility = 4')
console.log('Pragma cipher compatibility defined')
// To open a database created with SQLCipher 3.x, use this:
// db.run("PRAGMA cipher_compatibility = 3");
db.run("PRAGMA key = 'mysecret'") This means that it does not seem to compile well for windows because the database cannot be encrypted. On mac works fine, any idea? Thanks! |
Working on a fix for Windows. This is the same issue as in #67, so moving the discussion there. Note that the issue title ( |
Thanks, @rkistner for star working on this fix, and sorry for my title mistake 😄 |
Fails on W10 with node v12.16.3
The text was updated successfully, but these errors were encountered: