Open kewde opened 2 years ago
Can't install the package locally on my M1 due to the same error. Any workarounds?
@vladfaust You should only have this issue if you're building like this:
npm install --build-from-source --sqlite=/usr/local/opt/sqlite/
By default it should attempt to build like this:
npm install --build-from-source
You can attempt removing the extension code though as a workaround. Attempt commenting out the code in https://github.com/TryGhost/node-sqlite3/blob/master/src/database.cc#L677-L696
The default MacOS external sqlite3 installed through homebrew does not support extension loading and errors on compilation: