-
-
Notifications
You must be signed in to change notification settings - Fork 426
Description
Hello
Great library thank you
I am trying to use better-sqlite3 v12 in a node.js webapp, built as Docker container on node-alpine:22 base image.
All is fine on local dev but when installing in Ci/CD, installation of better-sqlite attempts to make a call to https://unofficial-builds.nodejs
.
This URL is blocked by our employer policies and after reading the docs for unofficial-builds.nodejs.org (minimal testing, no guarantees etc) it's unlikely to get allowed...
Is there a workaround for using better-sqlite3 that doesn't need to install an unofficial node package?
Here is the relevant log output:
#15 30.51 .../node_modules/better-sqlite3 install: gyp http GET https://unofficial-builds.nodejs.org/download/release/v22.19.0/node-v22.19.0-headers.tar.gz
Thank you - realise the immediate issue is a networking one rather than a bug in better-sqlite3 itself, but any advice on a workaround greatly appreciated, thanks