Open tiny-ant opened 4 weeks ago
Cannot produce with a large repo. Would you please provide a minimal repro?
Hello @tiny-ant, sorry we can't investigate the problem further without reproduction demo, please provide a repro demo by forking rspack-repro, or provide a minimal GitHub repository by yourself. Issues labeled by need reproduction
will be closed if no activities in 14 days.
System Info
System: OS: macOS 13.2.1 CPU: (8) arm64 Apple M1 Memory: 3.15 GB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 20.12.2 - /usr/local/bin/node npm: 10.8.2 - ~/Documents/workspace/inc-cdbi-core-web/node_modules/.bin/npm pnpm: 8.15.4 - ~/.npm-global/bin/pnpm bun: 1.0.6 - ~/.bun/bin/bun Browsers: Chrome: 127.0.6533.120 Safari: 16.3 npmPackages: @rspack/cli: ^0.7.5 => 0.7.5 @rspack/core: ^0.7.5 => 0.7.5 @rspack/plugin-react-refresh: ^1.0.0 => 1.0.0
Details
Message: should print diagnostics: × an error occurred when formatting an argument
Location: crates/rspack_core/src/stats.rs:391
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering. Run with RUST_BACKTRACE=full to include source snippets. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1: _napi_register_module_v1 at
2: _napi_register_module_v1
at
3: _napi_register_module_v1
at
4: _napi_register_module_v1
at
5: _napi_register_module_v1
at
6: _wasmer_vm_imported_memory32_atomic_notify
at
7: _wasmer_vm_imported_memory32_atomic_notify
at
8: _napi_register_module_v1
at
9: _napi_register_module_v1
at
10: _napi_register_module_v1
at
Reproduce link
No response
Reproduce Steps
my rspack.config.ts file:
the build script is: