I am working with tilelive to create a server to host my mbtiles. I am following the server code posted on the answer on this post. Currently, I have a mbtiles file called countries.mbtiles and am calling tilelive.load('mbtiles://countries.mbtiles', function( ... ) { ... } ); I have tried the relative and the absolute path for countries.mbtiles, but none work.
I am working on Windows 10. I also have WSL but that was causing too many problems with sqlite3 and node-gyp so I am using pure cmd.
Here is my error when I run the server.js file:
[Error: SQLITE_CANTOPEN: unable to open database file] {
errno: 14,
code: 'SQLITE_CANTOPEN'
}
I cannot figure out this error and was hoping for some pointers. Thanks.
Hi,
I am working with tilelive to create a server to host my mbtiles. I am following the server code posted on the answer on this post. Currently, I have a mbtiles file called
countries.mbtiles
and am callingtilelive.load('mbtiles://countries.mbtiles', function( ... ) { ... } );
I have tried the relative and the absolute path for countries.mbtiles, but none work.I am working on Windows 10. I also have WSL but that was causing too many problems with sqlite3 and node-gyp so I am using pure cmd.
Here is my error when I run the server.js file:
I cannot figure out this error and was hoping for some pointers. Thanks.