Skip to content

[Bug]: esm module hot update error, but rollback to version 1.3.2 works fine #10427

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

Open
lzxb opened this issue May 20, 2025 · 0 comments
Open
Assignees

Comments

@lzxb
Copy link
Contributor

lzxb commented May 20, 2025

System Info

System:
OS: macOS 15.3.1
CPU: (10) arm64 Apple M4
Memory: 237.59 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.15.0 - ~/.nvm/versions/node/v22.15.0/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v22.15.0/bin/yarn
npm: 10.9.2 - ~/.nvm/versions/node/v22.15.0/bin/npm
pnpm: 10.9.0 - ~/.nvm/versions/node/v22.15.0/bin/pnpm
Browsers:
Chrome: 136.0.7103.114
Edge: 135.0.3179.9

Details

Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message:  internal error: entered unreachable code: HMR is not implemented for module chunk format yet
Location: crates/rspack_plugin_runtime/src/module_chunk_format.rs:135

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 1: _blake3_compress_in_place_portable
    at <unknown source file>
 2: _napi_register_module_v1
    at <unknown source file>
 3: _napi_register_module_v1
    at <unknown source file>
 4: _napi_register_module_v1
    at <unknown source file>
 5: _napi_register_module_v1
    at <unknown source file>
 6: _wasmer_eh_personality
    at <unknown source file>
 7: _napi_register_module_v1
    at <unknown source file>
 8: _napi_register_module_v1
    at <unknown source file>
 9: _napi_register_module_v1
    at <unknown source file>
10: _napi_register_module_v1
    at <unknown source file>
11: _napi_register_module_v1
    at <unknown source file>
12: _napi_register_module_v1
    at <unknown source file>
13: _napi_register_module_v1
    at <unknown source file>
14: _napi_register_module_v1
    at <unknown source file>
15: _napi_register_module_v1
    at <unknown source file>
16: _napi_register_module_v1
    at <unknown source file>
17: _napi_register_module_v1
    at <unknown source file>
18: _napi_register_module_v1
    at <unknown source file>
19: _napi_register_module_v1
    at <unknown source file>
20: _napi_register_module_v1
    at <unknown source file>
21: __pthread_deallocate
    at <unknown source file>

Reproduce link

https://github.com/lzxb/rspack-esm-hot-error

Reproduce Steps

Rspack project

Setup

Install the dependencies:

npm install

Get started

Start the dev server:

npm run dev

Build the app for production:

npm run build
@lzxb lzxb added the pending triage The issue/PR is currently untouched. label May 20, 2025
@LingyuCoder LingyuCoder self-assigned this May 23, 2025
@LingyuCoder LingyuCoder removed the pending triage The issue/PR is currently untouched. label May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants