Closed Terandium closed 8 months ago
Can you post a runnable minimal example project so we can reproduce it and verify that a patch will fix it?
Can you post a runnable minimal example project so we can reproduce it and verify that a patch will fix it?
https://github.com/Terandium/pmtiles-ignite-issue
It’s just a blank ignite project, and I imported PMTiles in app.tsx
As it crashes on the import.
Edit: I forgot to actually push the PMTiles import, fixed it ^^
Should be fixed by https://github.com/protomaps/PMTiles/pull/376 , thanks for the repro case
(package.json was missing files for if your build doesn't use the bundled module in dist/)
The index.ts file tries to import
import v2 from "./v2";
But v2 doesn't exist, so it instantly panics and crashes..You see the v2 important, but v2 doesn't exist.
Our tech stack is: