Skip to content

[Bug]: Panic when build tests/webpack-test/configCases/concatenate-modules/import-module #8447

@GiveMe-A-Name

Description

@GiveMe-A-Name

System Info

System:
OS: macOS 13.6.5
CPU: (10) arm64 Apple M1 Pro
Memory: 1.24 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
npm: 9.8.1 - ~/Library/Application Support/fnm/node-versions/v18.18.2/installation/bin/npm
pnpm: 9.12.3 - ~/Library/Application Support/fnm/node-versions/v18.18.2/installation/bin/pnpm
bun: 1.0.21 - ~/.bun/bin/bun
Browsers:
Chrome: 130.0.6723.117
Safari: 16.6

Details

It will panic when we run rspack build in webpack-test/configCases/concatenate-modules/import-module.

context: /tests/webpack-test/configCases/concatenate-modules/import-module

Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message:  should have module
Location: crates/rspack_core/src/compiler/module_executor/execute.rs:82

Reproduce link

https://github.com/web-infra-dev/rspack/tree/main/tests/webpack-test/configCases/concatenate-modules/import-module

Reproduce Steps

  1. pnpm install
  2. ./x build
  3. cd tests/webpack-test/configCases/concatenate-modules/import-module
  4. npx rspack -c webpack.config.js

Metadata

Metadata

Labels

bugSomething isn't workingteamThe issue/pr is created by the member of Rspack.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions