Closed Nick-Lucas closed 3 years ago
@leosvelperez I still have the same issue with nx 12.9
Node : 14.17.1 OS : win32 x64 yarn : 1.22.5
nx : 12.9.0 @nrwl/angular : 12.9.0 @nrwl/cli : 12.9.0 @nrwl/cypress : 12.9.0 @nrwl/devkit : 12.9.0 @nrwl/eslint-plugin-nx : 12.9.0 @nrwl/express : Not Found @nrwl/jest : 12.9.0 @nrwl/linter : 12.9.0 @nrwl/nest : Not Found @nrwl/next : Not Found @nrwl/node : Not Found @nrwl/nx-cloud : 12.3.12 @nrwl/react : Not Found @nrwl/schematics : Not Found @nrwl/tao : 12.9.0 @nrwl/web : 12.9.0 @nrwl/workspace : 12.9.0 @nrwl/storybook : 12.9.0 @nrwl/gatsby : Not Found typescript : 4.3.5
@leosvelperez - This is still an issue with workspaces that have the "per-project" configuration applied. I just tested this. When I have a standard workspace that has one app and one lib dependency without the per-project configuration, tags and linting work. But if I apply the command "nx g @nrwl/workspace:convert-to-nx-project --all" to the project, then I get the same error defined in this ticket -> TypeError: Cannot read property 'tags' of undefined
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.
We use commands like
nx run-many --with-deps --target=lint --projects admin
to test all code associated with a application in CI. This is useful because we have separate pipelines for each application and means we're linting/testing the minimum amount of code.This was working on 12.6.4, but we ran
nx migrate latest
today which upgraded to 12.7.2 and the command is failing with the errorThe problem code is
From the output it looks like some change under
allDeps()
has caused it not to return keys any longer