-
Notifications
You must be signed in to change notification settings - Fork 698
Description
Panic message
Rolldown panicked. This is a bug in Rolldown, not your code.
thread '<unnamed>' (1488700) panicked at crates/rolldown/src/module_finalizers/impl_visit_mut.rs:475:15:
internal error: entered unreachable code: Should always rewrite to Identifier for JsxElementName::IdentifierReference
stack backtrace:
0: 0x1186e5a20 - _napi_register_module_v1
1: 0x1186f5b80 - _napi_register_module_v1
2: 0x1186c5f34 - _napi_register_module_v1
3: 0x1186cef28 - _napi_register_module_v1
4: 0x1186cee28 - _napi_register_module_v1
5: 0x117c3e50c - <unknown>
6: 0x1186cf35c - _napi_register_module_v1
7: 0x1186cf000 - _napi_register_module_v1
8: 0x1186cb29c - _napi_register_module_v1
9: 0x1186be7e8 - _napi_register_module_v1
10: 0x118796100 - _napi_register_module_v1
11: 0x1180aa2dc - <unknown>
12: 0x1180a6a44 - <unknown>
13: 0x1180a525c - <unknown>
14: 0x1180a8de0 - <unknown>
15: 0x117fbb404 - <unknown>
16: 0x1180a4ce4 - <unknown>
17: 0x1180a8de0 - <unknown>
18: 0x1180a36a4 - <unknown>
19: 0x1180ab3c8 - <unknown>
20: 0x117e1aaf4 - <unknown>
21: 0x117d84ce0 - <unknown>
22: 0x117b92340 - <unknown>
23: 0x117d84e98 - <unknown>
24: 0x117b92264 - <unknown>
25: 0x117d84e98 - <unknown>
26: 0x117b92264 - <unknown>
27: 0x117d84e98 - <unknown>
28: 0x117b92264 - <unknown>
29: 0x117de4198 - <unknown>
30: 0x11878eba8 - _napi_register_module_v1
31: 0x118691764 - _napi_register_module_v1
32: 0x118693870 - _napi_register_module_v1
33: 0x118693cdc - _napi_register_module_v1
34: 0x1186cab14 - _napi_register_module_v1
35: 0x193d21c08 - __pthread_cond_waitReproduction
When using tsdown, where cjs format enabled, it panics.
It happens when importing a component from another file, and both files are added as entries. It also happens when importing and using a component from a library.
System Info
System:
OS: macOS 26.2
CPU: (12) arm64 Apple M2 Pro
Memory: 94.23 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.18.0 - /Users/asmadsen/.nvm/versions/node/v22.18.0/bin/node
npm: 10.5.0 - /Users/asmadsen/Library/pnpm/npm
pnpm: 10.27.0 - /opt/homebrew/lib/node_modules/corepack/shims/pnpm
bun: 1.2.21 - /Users/asmadsen/.bun/bin/bun
Deno: 2.2.8 - /opt/homebrew/bin/deno
Browsers:
Chrome: 144.0.7559.133
Edge: 144.0.3719.115
Safari: 26.2Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels