Node-sqlite3: Install fails with "Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz ".

Created on 10 Jan 2021  ·  15Comments  ·  Source: mapbox/node-sqlite3

How to reproduce on Linux:

  1. Create a folder with package.json with the following content:
    {
    "name": "project",
    "version": "1.0.0",
    "description": "A simple project.",
    "repository": "",
    "license": "UNLICENSED",
    "private": true,
    "dependencies": {
    "sqlite3": "^5.0.1"
    }
    }
  2. cd to the folder and run "npm install"

Environment:
$ uname -a
Linux 5.4.0-4-cloud-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13) x86_64 GNU/Linux
$ node -v
v10.23.0

Most helpful comment

1389 already brought up this issue.

All 15 comments

just got the same - seems the binaries for the latest version aren't available:

> [email protected] install /opt/node_app/node_modules/sqlite3
> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download 
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-linux-x64.tar.gz 
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v72 ABI, glibc) (falling back to source compile with node-gyp) 

Are any binaries available @kewde ? Or is something wrong with the amazon S3 access settings - as it gives access denied all the time.

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>26304C28165B6492</RequestId>
<HostId>SIoQ7AN40mJByPyfSNfkt+xI1+1GUvqXbUj8l102kE0uT3/bRz2tkupLU0ddlz2v0zeXG3mmds8=</HostId>
</Error>

i got the same with node 12/14 on windows with SQLLite 5.0.1

Yep, me too.
Maybe some issues with S3 bucket... Quota exceeded or something else.

me too

same issue

occurred to me as well

same issue

Same issue here

1389 already brought up this issue.

same issue

same!!!
lock version to 5.0.0 will resolve this problem.

I have same trouble, for raspberry pi(ARM)

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.0/napi-v3-linux-arm.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v72 ABI, glibc) (falling back to source compile with node-gyp)

https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.0/napi-v3-linux-x64.tar.gz ← this URL works :)
https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.0/napi-v3-linux-arm.tar.gz ← this URL doesnt :(

I got the same error with version 5.0.0. Seems no way to fix it.
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz <- this doesn't work

I wonder why this isn't fixed yet - such an urgent issue, so many production pipelines broken...

Just due to simple missing binary or wrong S3 permissions...

Who is responsible for that?

Yes, this is also my concern here.
So, let's ping e.g. @kewde again who did the 5.0.1 release: can you handle this urgent issue?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

csugden picture csugden  ·  30Comments

royeradames picture royeradames  ·  20Comments

sampsongao picture sampsongao  ·  48Comments

ellogwen picture ellogwen  ·  15Comments

wotermelon picture wotermelon  ·  24Comments