Skip to content

[Panic]: thread 'rolldown-worker' (11046093) panicked at crates/rolldown_common/src/types/hybrid_index_vec.rs:76:28 #10136

Description

@btea

Panic message

Rolldown panicked. This is a bug in Rolldown, not your code.

thread 'rolldown-worker' (11046093) panicked at crates/rolldown_common/src/types/hybrid_index_vec.rs:76:28:
HybridIndexVec::Map missing idx 2 (len=1)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Please report this issue at: https://github.com/rolldown/rolldown/issues/new?template=panic_report.yml

Reproduction

https://github.com/btea/rolldown-panic

  1. Running pnpm dev works perfectly.
  2. The following changes were made to line 2 of the src/App.vue file, and after saving, an error occurred.
    https://github.com/btea/rolldown-panic/blob/3e7a512b0697d3985749e4a7228531f7d7d18bc6/src/App.vue#L2
-import HelloWorld from './components/HelloWorld.vue'
+import HelloWorld from './src/components/HelloWorld.vue'

System Info

System:
    OS: macOS 14.4.1
    CPU: (8) arm64 Apple M3
    Memory: 143.34 MB / 16.00 GB
    Shell: 3.2.57 - /bin/sh
  Binaries:
    Node: 24.18.0 - /Users/xxx/.vite-plus/js_runtime/node/24.18.0/bin/node
    npm: 11.16.0 - /Users/xxx/.vite-plus/js_runtime/node/24.18.0/bin/npm
    pnpm: 11.0.3 - /Users/xxx/.vite-plus/bin/pnpm
  Browsers:
    Chrome: 149.0.7827.201
    Chrome Canary: 152.0.7929.0
    Firefox: 136.0.4
    Safari: 17.4.1

Additional context

No response

Metadata

Metadata

Assignees

Type

Fields

Priority

None yet

Effort

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions