Open
Description
System Info
System:
OS: Linux 5.15 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)
CPU: (22) x64 Intel(R) Core(TM) Ultra 7 165H
Memory: 23.90 GB / 31.08 GB
Container: Yes
Shell: 5.9 - /usr/bin/zsh
Binaries:
Node: 24.2.0 - ~/.nvm/versions/node/v24.2.0/bin/node
Yarn: 4.9.2 - /mnt/c/nvm4w/nodejs/yarn
npm: 11.3.0 - ~/.nvm/versions/node/v24.2.0/bin/npm
Browsers:
Chrome: 138.0.7204.92
Package Versions:
@rsbuild/core: ^1.4.3
@rsbuild/plugin-react: ^1.3.3
@rsbuild/plugin-sass: ^1.3.2
@rsbuild/plugin-type-check: ^1.2.3
@rspack/core: 1.4.2 (dependency of @rsbuild/core)
cypress: ^14.5.1
cypress-rspack-dev-server: ^1.1.0
Details
Rspack panics with the error "should mgm exist" when running Cypress component tests, specifically when testing multiple map-related components that have complex dependencies (Leaflet,
geospatial libraries, etc.).
Error Message:
Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message: should mgm exist
Location: crates/rspack_core/src/compiler/make/cutout/fix_issuers.rs:58
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
<empty backtrace>
Reproduce link
No response
Reproduce Steps
Unfortunately, I cannot provide specific reproduction steps due to the proprietary nature of the codebase