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
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:
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
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->
<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->
<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->
## Current Behavior
<!-- This is the behavior we have today -->
When running serve with Rspack, `stats: false` is being added to
`devMiddleware` preventing logs from being output to the terminal.
## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
Ensure logs are logged to the devServer
## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->
Fixes#28179
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
branchSteps to Reproduce
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: