Skip to content
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

nx lint for multiple packages, fails for few packages randomly and works on restart #29019

Open
1 of 4 tasks
govindappaarun opened this issue Nov 21, 2024 · 0 comments
Open
1 of 4 tasks

Comments

@govindappaarun
Copy link

Current Behavior

Hi Team
we have an angular project with 60+ modules, in lint step of our CI one or the other package lint task fails
currently we are using Nx 19, started noticing this behaviour in recent releases
Number of parallel threads are defaulted to 3

Any clue on how to debug the root cause?

Expected Behavior

Lint task should run smoothly

GitHub Repo

No response

Steps to Reproduce

Command that we are using in CI
nx affected --targets=lint --base=origin/master --quiet

Nx Report

NX   Report complete - copy this into the issue template

Node           : 20.18.0
OS             : darwin-arm64
Native Target  : aarch64-macos
npm            : 10.8.2

nx (global)        : 20.0.6
nx                 : 20.0.3
@nx/js             : 20.0.3
@nx/jest           : 20.0.3
@nx/eslint         : 20.0.3
@nx/workspace      : 20.0.3
@nx/angular        : 20.0.3
@nx/devkit         : 20.0.3
@nrwl/devkit       : 19.8.4
@nx/eslint-plugin  : 20.0.3
@nx/web            : 20.0.3
@nx/webpack        : 20.0.3
typescript         : 5.5.4
---------------------------------------
Community plugins:
@design-factory/design-factory : 18.1.0
@ng-bootstrap/ng-bootstrap     : 17.0.1
@ngrx/effects                  : 18.0.2
@ngrx/operators                : 18.0.2
@ngrx/store                    : 18.0.2
@ngrx/store-devtools           : 18.0.2
@reef/fwk                      : 7.0.4
ngx-build-plus                 : 18.0.0
nx-stylelint                   : 17.1.5
---------------------------------------
The following packages should match the installed version of nx
  - @nrwl/[email protected]

To fix this, run `nx migrate [email protected]`

Failure Logs

Failed tasks:
- paxxxxx:lint
- pnxxxxx:lint
script returned exit code 1

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant