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

Failed to import - geojson-rbush #620

Closed
diachedelic opened this issue May 2, 2023 · 1 comment
Closed

Failed to import - geojson-rbush #620

diachedelic opened this issue May 2, 2023 · 1 comment
Labels
browser Not working in Browser

Comments

@diachedelic
Copy link

Failing module

import rbush from "https://esm.sh/geojson-rbush";

Error message

ReferenceError: __1$default is not defined
    at https://esm.sh/v118/[email protected]/es2022/geojson-rbush.mjs:2:1256
    at https://esm.sh/v118/[email protected]/es2022/geojson-rbush.mjs:2:794
    at https://esm.sh/v118/[email protected]/es2022/geojson-rbush.mjs:2:2771

Additional info

I was previously pinning esm.sh to v113, the last version to correctly import this package, but it seems that pinning to v113 no longer has any effect.

  • esm.sh version v118:
  • Browser version Chrome v112:
@diachedelic diachedelic added the browser Not working in Browser label May 2, 2023
@ije ije closed this as completed in ecdb333 May 2, 2023
@diachedelic
Copy link
Author

Thanks!

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

No branches or pull requests

1 participant