Current Behavior
If I create a default nx project with rspack, and induce any compile error (e.g import a file that doesn't exist) the failed compilation is reported by the CLI, but no error message shows up.

After a while I figured out I could find the error by visiting the dev server port in the browser:

Expected Behavior
The compile error must be logged in the terminal
GitHub Repo
https://github.com/dangbert/nxwarningdemo/tree/error-compiling2
^please use the error-compiling2 branch
Steps to Reproduce
git clone https://github.com/dangbert/nxwarningdemo && cd nxwarningdemo
# checkout the specific branch I made for this issue
git checkout --track origin/error-compiling2
yarn
yarn start
Nx Report
nx : 19.8.0
@nx/js : 19.8.0
@nx/jest : 19.8.0
@nx/linter : 19.8.0
@nx/eslint : 19.8.0
@nx/workspace : 19.8.0
@nx/cypress : 19.8.0
@nx/devkit : 19.8.0
@nx/eslint-plugin : 19.8.0
@nx/react : 19.8.0
@nrwl/tao : 19.8.0
@nx/web : 19.8.0
@nx/webpack : 19.8.0
typescript : 5.5.4
---------------------------------------
Community plugins:
@nx/rspack : 19.7.1
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
Current Behavior
If I create a default nx project with rspack, and induce any compile error (e.g import a file that doesn't exist) the failed compilation is reported by the CLI, but no error message shows up.
After a while I figured out I could find the error by visiting the dev server port in the browser:
Expected Behavior
The compile error must be logged in the terminal
GitHub Repo
https://github.com/dangbert/nxwarningdemo/tree/error-compiling2
^please use the
error-compiling2branchSteps to Reproduce
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response