Open sbancal opened 2 years ago
More on what I've found ...
It's about a dependency : better-sqlite3@6.0.1
.
When I try to install better-sqlite3@6.0.1
manually, it fails.
On the other hand when I install its latest version, it works perfect :
npm install better-sqlite3
Would it be possible to upgrade geopackage's dependency to newer version of better-sqlite3 ? "^7.5.0" ?
Yes it is possible, in a way. Leaflet-geopackage depends on the main geopackage project. Version 4.1.0-beta.1 has upgraded the better-sqlite package to a newer version, however leaflet-geopackage has not been updated to have 4.1.0-beta.1 as a dependency. We are working towards getting 4.1 released as a non beta version soon, and will update leaflet-geopackage following that. If you would like to upgrade leaflet-geopackage to update the @ngageoint/geopackage dependency to 4.1.0-beta.1 and issue a pull request, I can publish it.
Thanks for your answer. Looking forward for that update, in the time that is yours. regards
@sbancal leaflet-geopackage (v4.1.1) has now been updated to use the latest @ngageoint/geopackage (v4.1.0)
Hi, Trying, with no success, to install
@ngageoint/leaflet-geopackage
innode:17
Docker container.Here are the steps to reproduce :
Error output gives :
There is probably a dependency missing ... I tried several sqlite packages :
apt-get install -y libaprutil1-dbd-sqlite3 libgom-1.0-0 libqt5sql5-sqlite libspatialite-dev libspatialite7 libsqlite3-0 libsqlite3-dev ruby-sqlite3 sqlite3
... but with no success.Thanks for any advice on this, regards