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

Cannot destructure property '__extends' of 'import_tslib.default' as it is undefined. when i use Echarts in [email protected] #19032

Closed
7 tasks done
DhtIsCoding opened this issue Dec 21, 2024 · 1 comment

Comments

@DhtIsCoding
Copy link

DhtIsCoding commented Dec 21, 2024

Describe the bug

I got the exception: "Cannot destructure property '__extends' of 'import_tslib.default' as it is undefined". when i use Echarts in [email protected]

Reproduction

https://github.com/DhtIsCoding/-__extends--of--import_tslib.default--as-it-is-undefined

Steps to reproduce

Run "pnpm install" followed by "pnpm dev"

System Info

System:
    OS: Linux 5.15 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
    CPU: (12) x64 AMD Ryzen 5 5600G with Radeon Graphics
    Memory: 11.23 GB / 15.27 GB
    Container: Yes
    Shell: 5.2.21 - /bin/bash
  Binaries:
    Node: 22.11.0 - ~/.nvm/versions/node/v22.11.0/bin/node
    npm: 10.9.0 - ~/.nvm/versions/node/v22.11.0/bin/npm
    pnpm: 9.15.1 - /mnt/c/Program Files/nodejs/pnpm
  npmPackages:
    vite: 6.0.5 => 6.0.5

Used Package Manager

pnpm

Logs

menus.tsx:251 Error loading route module /app/pages/subscription/index.tsx, reloading page... await in loadRouteModule handleSelect2 @ menus.tsx:251
menus.tsx:251 TypeError: Cannot destructure property '__extends' of 'import_tslib.default' as it is undefined. at index.js:3:3 overrideMethod @ hook.js:608 loadRouteModule @ chunk-W3HZJLUQ.mjs:5328 await in loadRouteModule

Validations

@sapphi-red
Copy link
Member

It seems this is a bug in RR7. The cause seems to be the same with remix-run/react-router#12610 (comment).

Closing as this is not a bug in Vite.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants