nolanlawson / node-websql

The WebSQL Database API, implemented for Node.js
Apache License 2.0
89 stars 36 forks source link

update sqlite3 to ^5.0.2 #32

Closed technowizard closed 3 years ago

technowizard commented 3 years ago

Hello, I was using react-native-sqlite-2 and it has a dependency to websql (node-websql). When I tried to build my app on ci/cd deployment, the pipeline failed and shows this warning:

// the following sqlite tarball (which is 4.2.0) is giving 403 status / forbidden
// probably not found on the server or might have been deleted)

node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/node-v83-linux-x64.tar.gz

I believe it happened because of the sqlite3 version used by websql, since I don’t have sqlite3 installed on my project. The temporary solution I go with is modifying the yarn.lock to make websql use the sqlite3@^5.0.2, then I tried to rerun the pipeline and it works well

Would you be able to update the sqlite3 (or review my PR) regarding this issue? Thanks in advance