Closed barbalex closed 5 years ago
Nope: downgraded to better-sqlite3 v5.2.1 and still get above error
I rolled everything back but still get this error. Seems that this project can not be built any more :-(
I tried using different node versions (10.15.0, 11.6.0) but to no avail
I work on a MacOS notebook and a windows PC. On Windows this does not happen :-)
@barbalex Have you tried using electron-rebuild?
I haven't needed it. electron-builder does it's job of rebuilding native depencencies like integer in my case.
I tried to use it according to it's readme but got an error (fatal error: 'openssl/opensslv.h' file not found
). See https://github.com/electron/electron-rebuild/issues/216#issuecomment-455588840
@barbalex In the past, issues like this have been resolved by using rm -rf
on all installed packages and build artifacts, and starting from scratch with npm install
. Though, I can't say for sure what caused the issue in your case.
About 4 hours of debugging later I have now progressed via a slew of problems installing MacPorts to get electron-rebuild find openssl to a different error that may be caused by using specific node versions or maybe different node versions in electron and on my mac.
Any way: this is not integer's fault. So closing.
After updating dependencies in my electron app I get this error when running
yarn dev
:Seems that integer is a dependency of better-sqlite3, this extract from the yarn.lock file:
So maybe this happens because I updated better-sqlite3 from v5.2.1 to v5.3.0