New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rollup error is being swallowed #22896
Labels
Comments
I'm getting the error even with a freshly bootstrapped nx react library project
|
Can you try this with |
@AgentEnder I get the same type of error with create-nx-workspace@canary
|
Coly010
pushed a commit
that referenced
this issue
May 8, 2024
closed 22896 <!-- 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` --> ## Current Behavior given using @nx/rollup:rollup executor when an error is thrown then no message is logged (just stacktrace) ## Expected Behavior error message to be displayed (as it was till v18.2.0) ## Related Issue(s) Fixes #22896
FrozenPandaz
pushed a commit
that referenced
this issue
May 9, 2024
closed 22896 <!-- 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` --> ## Current Behavior given using @nx/rollup:rollup executor when an error is thrown then no message is logged (just stacktrace) ## Expected Behavior error message to be displayed (as it was till v18.2.0) ## Related Issue(s) Fixes #22896 (cherry picked from commit ea5c910)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current Behavior
When a rollup build error occurs, the error is passed down from rollup to nx rollup but the error is not parsed correctly by nx rollup.
Apparently, the error.message has the message but nx is looking at error.formated
Expected Behavior
The error should display the proper typescript message
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Package Manager Version
yarn 1.22.19
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: