You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
Uncaught TypeError: The specifier “pouchdb” was a bare specifier, but was not remapped to anything. Relative module specifiers must start with “./”, “../” or “/”.
Safari
SyntaxError: Unexpected identifier 'PouchDB'. import call expects one or two arguments.
Chrome
Uncaught SyntaxError: Cannot use import statement outside a module (at L.TileLayer.PouchDBCached.js:3:1)
script type of TileLayer.PouchDBCached.js and pouchdb.js
Replaced leaflet 1.0 with leaflet 1.4. Still works.
Replaced leaflet 1.0 with leaflet 1.9.4 (latest). Still works.
Replaced L.TileLayer.PouchDBCaches.js with new version from GitHub - fails.
Replaced pouchdb.js from demo (which actually is 5.4.5) with latest 9.0.0 - fails.
Maybe we need information which pouchdb.js version works with the latest version of L.TileLayer.PouchDBCaches.js ?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Situation
Testing demo.
Expected
Console output about missed or cached tiles.
Experienced
Firefox 130.0 (64-bit) (macOS)
Safari Version 17.6 (18618.3.11.11.7, 18618)
Chrome Version 128.0.6613.138 (Official Build) (x86_64)
Attempted Workarounds
script type of TileLayer.PouchDBCached.js
Changed in a local copy:
to
Error is now:
Firefox
Safari
Chrome
script type of TileLayer.PouchDBCached.js and pouchdb.js
Same as above.
Use tested versions
Replaced demo versions with:
This works.
Replaced leaflet 1.0 with leaflet 1.4. Still works.
Replaced leaflet 1.0 with leaflet 1.9.4 (latest). Still works.
Replaced L.TileLayer.PouchDBCaches.js with new version from GitHub - fails.
Replaced pouchdb.js from demo (which actually is 5.4.5) with latest 9.0.0 - fails.
Maybe we need information which pouchdb.js version works with the latest version of L.TileLayer.PouchDBCaches.js ?
The text was updated successfully, but these errors were encountered: