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
In our CI-pipeline we give the command npx nx format:check, just to ensure that all files are correctly formatted.
This command normally works without a problem.
For a PR with >3300 modified files (formatting changes) the process crashes and exits with exitcode "1".
When i do the NODE_DEBUG=* npx nx format:check i see the following in the console:
Maybe it would be a good idea to have "format:check" to split it in pairs of xxx files? Or maybe give a warning when above a certain number of files (1000).
GitHub Repo
No response
Steps to Reproduce
Take a very big repo
Modify a prettier/eslint setting (tab from 2 to 3 spaces)
Run npx nx format:write --all or npx run-many --all --target=lint --fix
Run npx nx format:check
In my situation i get no console output, but do get the exit-code "1" (failed)
Thanks for the report! It looks like an exact duplicate of #17612 so I'll close it in favor of that issue.
There has been some good investigation into it so I should be able to fix the issue soon.
Current Behavior
In our CI-pipeline we give the command
npx nx format:check
, just to ensure that all files are correctly formatted.This command normally works without a problem.
For a PR with >3300 modified files (formatting changes) the process crashes and exits with exitcode "1".
When i do the
NODE_DEBUG=* npx nx format:check
i see the following in the console:Expected Behavior
I would expect this not to be an issue.
Maybe it would be a good idea to have "format:check" to split it in pairs of xxx files? Or maybe give a warning when above a certain number of files (1000).
GitHub Repo
No response
Steps to Reproduce
npx nx format:write --all
ornpx run-many --all --target=lint --fix
npx nx format:check
Nx Report
Failure Logs
No response
Package Manager Version
10.5.0
Operating System
Additional Information
I love working with NX
The text was updated successfully, but these errors were encountered: