-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
Cannot use better-sqlite3 with Electron/TypeORM on Raspberry Pi #557
Labels
Comments
No clue? |
Any updates on this issue? |
Hi @JoshuaWise. No there is no update because I'm new to Electron and Node.js. I had some help on this thread but I didn't really progress... |
@JoshuaWise Same problem here, do you believe it's your package's issue or it is because of Typeorm? |
@wailashraf71 I'm not sure. I've never seen this error |
@cyrilfr Is this issue still relevant in 2024? |
Yes it's still relevant :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I try to run better-sqlite3 in my Electron app on a Rasperry Pi. I get an error from TypeORM at runtime:
When I catch the real error thrown by
require('better-sqlite3')
, I get:In order to build better-sqlite3 7.1.1, I use the BitBake automation tool. I created a BitBake recipe to rebuild better-sqlite3 for the Raspberry Pi (worked the same for node-sqlite3 previously):
On the RPi, I did a
file better-sqlite3/build/Release/better_sqlite3.node
command:better-sqlite3: 7.1.1
node: 10.17.0
node-gyp: 5.0.3
Any clue?
Edit:
I added:
to the binding.gyp file before building. I now get a lot of errors at
electron-rebuild
time:The text was updated successfully, but these errors were encountered: