Open cyrilfr opened 3 years ago
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 :)
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: