You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am migrating out solution from webpack to rspack based on the migration guide in the documentation.
When trying to run "rspack serve", the compilation fails almost at the end with the following error:
refaelzilberman@Refaels-MacBook-Pro project % rspack serve
Invalid configuration object. Rspack has been initialized using a configuration object that does not match the API schema.
- Unrecognized key(s) in object: 'managedPaths' at "snapshot"
<w> [webpack-dev-server] Hot Module Replacement (HMR) is enabled for the production build.
<w> Make sure to disable HMR for production by setting `devServer.hot` to `false` in the configuration.
<i> [webpack-dev-server] [HPM] Proxy created: /api -> http://localhost:8888
<i> [webpack-dev-server] [HPM] Proxy created: /ProductStream -> http://localhost:8001
17% building /Users/refaelzilberman/Code/project/node_modules/babel-loader/lib/index.js??rule...<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:9000/
<i> [webpack-dev-server] On Your Network (IPv4): http://192.168.10.170:9000/
<i> [webpack-dev-server] On Your Network (IPv6): http://[fe80::1]:9000/
50% building /Users/refaelzilberman/Code/project/node_modules/babel-loader/lib/index.js??rule...<i> [webpack-dev-server] Content not from webpack is served from '/Users/refaelzilberman/Code/project/app' directory
50% building /Users/refaelzilberman/Code/project/node_modules/babel-loader/lib/index.js??rule...<i> [webpack-dev-middleware] wait until bundle finished: /
93% sealing asset processing...Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message: Oops Dot
Location: index.crates.io-6f17d22bba15001f/rspack_dojang-0.1.9/src/expr.rs:477
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1: _napi_register_module_v1
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: _wasmer_vm_f64_nearest
at <unknown source file>
6: _napi_register_module_v1
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: __pthread_deallocate
at <unknown source file>
zsh: abort rspack serve
Reproduce link
No response
Reproduce Steps
run rspack serve
The error occurs after the compilation almost done
The text was updated successfully, but these errors were encountered:
Hello @rafael-zilberman, 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 15.2
CPU: (12) arm64 Apple M2 Pro
Memory: 1.07 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.20.2 - ~/.nvm/versions/node/v16.20.2/bin/node
Yarn: 1.22.21 - /opt/homebrew/bin/yarn
npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
Browsers:
Chrome: 131.0.6778.265
Safari: 18.2
npmPackages:
@rspack/cli: ^1.1.8 => 1.1.8
@rspack/core: ^1.1.8 => 1.1.8
@rspack/plugin-react-refresh: ^1.0.1 => 1.0.1
Details
I am migrating out solution from webpack to rspack based on the migration guide in the documentation.
When trying to run "rspack serve", the compilation fails almost at the end with the following error:
Reproduce link
No response
Reproduce Steps
The text was updated successfully, but these errors were encountered: