Cannot read properties of undefined (reading 'xxx:lint')
See original GitHub issueCurrent Behavior
Error when run npx nx print-affected --base=origin/master~1 --target=lint --verbose
Expected Behavior
no error
14.5.9 was wroking but bot in 14.6.4
Steps to Reproduce
run npx nx print-affected --base=origin/master~1 --target=lint --verbose
Failure Logs
TypeError: Cannot read properties of undefined (reading 'shared-util-report-model:lint')
at allDeps (C:\IT\ItZHMW\Web\node_modules\@nrwl\linter\src\executors\eslint\hasher.js:33:36)
at C:\IT\ItZHMW\Web\node_modules\@nrwl\linter\src\executors\eslint\hasher.js:10:30
at Generator.next (<anonymous>)
at fulfilled (C:\IT\ItZHMW\Web\node_modules\tslib\tslib.js:115:62)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
cause context.taskGraph = {} on line 12 in hasher.js
Environment
NX Report complete - copy this into the issue template
Node : 16.15.1 OS : win32 x64 yarn : 3.2.3
nx : 14.6.4 @nrwl/angular : 14.6.4 @nrwl/cypress : 14.6.4 @nrwl/detox : Not Found @nrwl/devkit : 14.6.4 @nrwl/eslint-plugin-nx : 14.6.4 @nrwl/express : Not Found @nrwl/jest : 14.6.4 @nrwl/js : 14.6.4 @nrwl/linter : 14.6.4 @nrwl/nest : Not Found @nrwl/next : Not Found @nrwl/node : Not Found @nrwl/nx-cloud : Not Found @nrwl/nx-plugin : Not Found @nrwl/react : Not Found @nrwl/react-native : Not Found @nrwl/schematics : Not Found @nrwl/storybook : 14.6.4 @nrwl/web : 14.6.4 @nrwl/workspace : 14.6.4 typescript : 4.7.4
Local workspace plugins:
Community plugins: angular-auth-oidc-client: 13.1.0
Issue Analytics
- State:
- Created a year ago
- Reactions:9
- Comments:9 (1 by maintainers)
Top Results From Across the Web
cannot read properties of undefined (reading 'native') - You.com
Hi, I tried to test Skia in my react native app but this "Cannot read properties of undefined (reading 'MakeWebGLCanvasSurface')" issue constantly shows...
Read more >Diff - native_client/nacl-bionic - Google Git
FP underflow/denorm software +# handling is broken (doesn't exist!) on the Alpha ... to ensure that + * the read is executed before...
Read more >lint-staged - Bountysource
Specifically I'm using ESLint with lint-staged. I cannot properly escape the filename. Right now I am exporting variable with export something='$something', but ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same issue.
OS: RHE 8.0 Node: 14.18.0 npm: 6.14.15 nx: 14.6.4
The
npx nx affected --base=origin/master --target=lint
command works fine but it fails if you try to print the affected apps.I can try and roll back but I don’t think there’s support for down migrations. I would recommend adding more regression testing to ensure nx commands are working before merging pr’s.