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
I am trying to install SQLite on Mac from source (since I intend to use it for Electron). This fails with napi errors (see attached debug log).
I am using Rosetta on M1 Mac, trying to build an x86 version. I use SQLite3 install from Homebrew and tried various configurations, last of which installs sqlite without error, but also without binding. Hence, running npm install with electron-builder install-app-deps results in the error log below.
Electron installed is the 8.5.5 since it's deemed as the last one supported by this project.
I am trying to install SQLite on Mac from source (since I intend to use it for Electron). This fails with napi errors (see attached debug log).
I am using Rosetta on M1 Mac, trying to build an x86 version. I use SQLite3 install from Homebrew and tried various configurations, last of which installs sqlite without error, but also without binding. Hence, running npm install with
electron-builder install-app-deps
results in the error log below.Electron installed is the
8.5.5
since it's deemed as the last one supported by this project.Installation sequence:
brew install sqlite sqlcipher
npm i napi
export LDFLAGS="-L
brew --prefix/opt/sqlcipher/lib"
export CPPFLAGS="-I
brew --prefix/opt/sqlcipher/include"
npm install sqlite3 --runtime=electron --target=1.7.6 --dist-url=https://electronjs.org/headers --build-from-source --sqlite_libname=sqlcipher --sqlite=`brew --prefix`
npm i
Error log:
The text was updated successfully, but these errors were encountered: