question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mbtiles converter dependency 'sqlite3' not available

See original GitHub issue

When I yarn install the node modules for ./converter/mbtiles/ I get the following error:

node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.6.38
node-pre-gyp info using node@10.15.3 | darwin | x64
node-pre-gyp info check checked for "/Users/dujohnson/tmp/geopackage-js/converters/mbtiles/node_modules/sqlite3/lib/binding/node-v64-darwin-x64/node_sqlite3.node" (not found)
node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-darwin-x64.tar.gz
node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@10.15.3 (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(undefined): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@10.15.3 (node-v64 ABI) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file

And indeed, when I visit https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-darwin-x64.tar.gz I get the following error:

<Error>
  <Code>AccessDenied</Code>
  <Message>Access Denied</Message>
  <RequestId>F2735A74E4249542</RequestId>
  <HostId>nROeg5Ex5GGEQuNYvefpuGITA3fV4ambpNX8gSD0bBPj3ZY46kn+pUlf07lgdto8n2ky6M9hQcQ=</HostId>
</Error>

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
danielbarelacommented, Apr 16, 2020

I am in the process of upgrading the converters to the new version of geopackage-js which removes the dependency on mapbox sqlite3. I will update this ticket when the mbtiles converter is updated.

0reactions
canadaduanecommented, Jun 30, 2020

Great! Thank you.

On Tue, Jun 30, 2020 at 5:59 AM Dan notifications@github.com wrote:

Sorry this has taken so long, got pulled onto a different project. I have a readonly version working so far which really just creates views from the existing MBTiles tables and adds the appropriate GeoPackage tables.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ngageoint/geopackage-js/issues/147#issuecomment-651746817, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAABAJKGOKMT6LEZLIUM43RZHHRFANCNFSM4MI6BGMA .

Read more comments on GitHub >

github_iconTop Results From Across the Web

TileMap: How to convert MBTiles to RMaps SQLite?
I am looking for method to convert maps from mbtiles to RMaps SQLite and vice versa without quality lost. sqlite · file-formats ·...
Read more >
Convert Big Planet Tracks SQLite to mbtiles for OSMdroid
I am looking a way to convert Big Planet Tracks SQLite to mbtiles. What is the difference? More than likely, the table structure...
Read more >
MBTiles — GDAL documentation
The MBTiles driver allows reading rasters in the MBTiles format, which is a specification for storing tiled map data in SQLite databases.
Read more >
Inspecting MBTiles in Python
MBTiles are a format for storing map tiles. An .mbtiles file is simply a SQLite database containing individual pbf tiles for each row,...
Read more >
@mapbox/mbtiles - npm Package Health Analysis | Snyk
It is optional, default as rwc . Available flags are: ro : readonly mode, will throw error if the mbtiles is not existed....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found