Skip to content
New issue

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

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

Already on GitHub? # to your account

[Bug] SyntaxError: The requested module '/node_modules/@deck.gl/layers/node_modules/earcut/src/earcut.js' does not provide an export named 'default' at polygon.js #9344

Open
7 tasks
guoyuchen-pathzz opened this issue Jan 9, 2025 · 0 comments
Labels

Comments

@guoyuchen-pathzz
Copy link

guoyuchen-pathzz commented Jan 9, 2025

Description

Error as title. It seems like deck.gl 9.0 is using earcut ^2.2.24 version. I checked the earcut latest version has no such issue. Can you please have a look? thank you.

Flavors

  • Script tag
  • React
  • Python/Jupyter notebook
  • MapboxOverlay
  • GoogleMapsOverlay
  • CartoLayer
  • ArcGIS

Expected Behavior

No response

Steps to Reproduce

npm install deck.gl then import,
npm run dev -- --host test.local

Environment

  • Framework version: 9.0.38
  • Browser: Google Chrome
  • OS: MacOS
  • Vite: v6.0.7

Logs

No response

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

No branches or pull requests

1 participant