Node-sqlite3: Electron binaries return 403 Access Denied

Created on 8 Mar 2017  路  5Comments  路  Source: mapbox/node-sqlite3

I'm trying to use node-pre-gyp to download node-sqlite3 binaries for running on Electron. If I run the following reveal command, node-pre-gyp gives me the URL to download from. But when I request the url, it gives me a 403 Access Denied.

Running this:
../.bin/node-pre-gyp reveal hosted_tarball --silent --target_platform=win32 --target_arch=x64 --runtime=electron --target=1.4.0

Returns this: https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.8/electron-v1.4-win32-x64.tar.gz

I've tried modifying the parameters to the reveal command, and it appears that passing a --runtime=electron (and a valid --target) consistently results in a 403 Access Denied.

Are there actually Electron binaries of node-sqlite3 available to install via node-pre-gyp? If not, why does node-pre-gyp reveal give me a URL?

Most helpful comment

Same:
Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.8/node-v51-freebsd-x64.tar.gz

All 5 comments

Same:
Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.8/node-v51-freebsd-x64.tar.gz

Same here, I can't build this on FreeBSD and I get a Forbidden error for the binaries.

Same here!
L(oOo)L

Any update?

I had a similar error saying node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.0.0/electron-v1.8-win32-x64.tar.gz . I had windows-build-tools installed but it didn't help.

After I followed node.js environment setup guidelines from Microsoft and manually installed everything, I succeeded building binaries.

It seems once npm fails to rebuild locally, it tries to connect to those url.

Was this page helpful?
0 / 5 - 0 ratings