[Bug][DevServer]: TypeError: Cannot read properties of undefined (reading 'get')
when making network request to compiled asset
#7618
Labels
System Info
System:
OS: macOS 14.4.1
CPU: (8) arm64 Apple M2
Memory: 70.70 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.11.1 - ~/.nvm/versions/node/v20.11.1/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v20.11.1/bin/yarn
npm: 10.2.4 - ~/.nvm/versions/node/v20.11.1/bin/npm
pnpm: 8.15.6 - ~/.nvm/versions/node/v20.11.1/bin/pnpm
bun: 1.1.12 - ~/.bun/bin/bun
npmPackages:
@rspack/cli: 1.0.0-beta.5 => 1.0.0-beta.5
@rspack/core: 1.0.0-beta.5 => 1.0.0-beta.5
Details
After starting the dev server, it crashes as soon as the browser requests one of its compiled assets.
The crash produces the following error (path truncated for brevity):
Reproduce link
https://github.com/mxmason/rspack-repro-dev-crash
Reproduce Steps
pnpm i
pnpm run dev:rspack
main
bundlepnpm run dev:webpack
and verify that "hello world" does renderNote
DevServer crashes as soon as the browser requests
main.js
. If you comment out theplugins
array inconfig.mjs
, the server will only crash if you go tohttp://localhost:8080/main.js
.The text was updated successfully, but these errors were encountered: