Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error saying Queue is not constructor. #78

Open
Btpatil opened this issue Oct 11, 2022 · 1 comment
Open

Getting error saying Queue is not constructor. #78

Btpatil opened this issue Oct 11, 2022 · 1 comment

Comments

@Btpatil
Copy link

Btpatil commented Oct 11, 2022

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.

@perliedman
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants