geojson-path-finder icon indicating copy to clipboard operation
geojson-path-finder copied to clipboard

Getting error saying Queue is not constructor.

Open Btpatil opened this issue 3 years ago • 1 comments

how exactly the geojson is required for this to work. it wasnt explained in the readme section. i am Getting error saying Queue is not constructor.from dijkstra.js file. if you can help me with this, how exactly i have to proceed with the paathfinder.

Btpatil avatar Oct 11 '22 16:10 Btpatil

The issue is with how webpack handles bundling of mixed CommonJS and ESM dependencies, not with geojson-path-finder. Please try the new version 2.0.0 of geojson-path-finder and see if it helps.

perliedman avatar Dec 27 '22 15:12 perliedman