Closed gluhovroma closed 2 months ago
Try to create a minimal repro but fail, can you provide one?
Hello @gluhovroma, 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.
experiments.css
and css extract plugin should not be used together.
module: {
rules: [
{
test: /\.css$/i,
use: [rspack.CssExtractRspackPlugin.loader, 'css-loader'],
- type: 'css',
}
]
}
Since the issue was labeled with need reproduction
, but no response in 14 days. This issue will be closed. Feel free to comment and reopen it if you have any further questions.
System Info
System Info System: OS: macOS 14.0 CPU: (10) arm64 Apple M1 Max Shell: 5.9 - /bin/zsh Binaries: Node: 16.14.2 npm: 8.5.0
Details
Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues 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
This happens when I connect css like this:
import 'semantic-ui-css/semantic.min.css';
And use CssExtractRspackPlugin as described in the instructionsReproduce link
No response
Reproduce Steps
run rspack