> npx mbtiles-server .\countries.mbtiles
C:\test\node_modules\sqlite3-offline\binaries\index.js:21
throw new Error(`NodeJS ${NODE} Module ${MODULES} not compatible`)
^
Error: NodeJS 20.10.0 Module 115 not compatible
at Object.<anonymous> (C:\test\node_modules\sqlite3-offline\binaries\index.js:21:9)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (C:\test\node_modules\sqlite3-offline\index.js:4:42)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
Node.js v20.10.0
Maybe an older version of Node would do.
Or just use the full-blown tileserver-gl (for anyone having the same issue):
I'm getting the following error on Windows:
Maybe an older version of Node would do.
Or just use the full-blown
tileserver-gl
(for anyone having the same issue):