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
Cannot find module '@nrwl/linter/package.json' when running lint #20057
Comments
We are getting the same thing. |
What does the |
I do not see on which project the command is giving an errror (we still have a workspace.json but that is for a custom script that needs to be refactored)
|
Same with us migration largely did the above to all the project files. This is the output from CI:
|
I'm also experiencing the same issue, locally the Linting works just fine but in CI it fails to load the resolve |
I'm running into the same issue. Thanks for the screenshot, @aikrez – I checked and apparently the For my Question is where this is coming from 😅 |
updated to 17.1.1 and still the same error
I managed to get around it by adding |
I am getting this issue after migrating to (or rather in the process of migrating to) nx 17.1.2. The linting works if you select a single project. All of the project configurations were updated (via the migration scripts) and the The problem arises when I use Using the suggestion in the previous comment to manually install |
Hi all, If you were migrating from the I'm surprised you still had Can someone provide a test repo or a path to reproduce this (without manually messing up the If you need quick fix, just replace all your |
@HerrBertling can you paste here the config for one of your apps and libs (ideally before the migration to v17) to see what is different about them that made it break the migration. |
@aikrez don't install |
I removed it and indeed 5 of the 180 libs did not migrate correctly where I had to change the lint and jest package. Had the following @nrwl leftovers:
|
@aikrez can you check got history if this happened during the v16 migration or someone added those later? |
Those packages were not added to the package.json (except linter which I added manually). It were remaining executors that used the nrwl packages. |
Had the same problem and manually searched for |
@meeroslav It just dawned on me that this might be due to the I My best guess is that the |
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
An error is shown when running lint command
Expected Behavior
No error
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
The text was updated successfully, but these errors were encountered: