-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
lint task not being inferred by Nx 19.3 #26598
Comments
same for me... it worked after upgrading to 19.3, but disappeared after doing a nx reset... also using windows.... |
Experiencing the same issue, local nx cache had a mixture of lint tasks available for my projects (but there should be one available for each project). Deleted the nx cache and forced it to refresh workspace and the lint commands are gone from all projects now (at least consistent). This happened after upgrading to latest NX. |
Same happened to me today. After struggling with multiple methods, only adding lint target to apps/libs individually made it work. However, this should not be necessary like it was before 19.3 |
same, even with latest update from today |
still same with 19.4... |
seems fixed via #26638 and working for me in 19.5.0-beta.3 and 19.4.4 |
I'm closing this since the issue was addressed by #26638. Please update to Nx 19.4.4 or 19.5.0 or later. |
If the problem persists after the update, try to run |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
Running
npx nx lint {project}
is failing with "Cannot find configuration for task {project}:lint".I created two new Nx workspaces containing a react app using
create-nx-workspace
to compare Nx versions 19.3 and 19.2.3. It seems like Nx is not inferring the lint task when using 19.3.Here are lists of the inferred targets taken from the IntelliJ plugin:
Nx 19.3
Nx 19.2.3
Expected Behavior
Running
npx nx lint {project}
should correctly run lint for the project.GitHub Repo
No response
Steps to Reproduce
npx [email protected]
npx nx lint {project}
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
It's working in our build server (linux), so maybe this problem is limitted to windows.
The text was updated successfully, but these errors were encountered: