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 broken on scaffolded NX 20 repo (Integrated monorepo with Angular app) #28440

Closed
1 of 4 tasks
GeorgeKnap opened this issue Oct 15, 2024 · 1 comment
Closed
1 of 4 tasks

Comments

@GeorgeKnap
Copy link

Current Behavior

  1. scaffold NX20 integrated workspace with Angular app
  2. run nx lint for your app

throws error

> nx run demo:lint

Linting "demo"...
 NX   Cannot read properties of undefined (reading 'at')
Occurred while linting C:\development\nx20\apps\demo\src\app\app.component.html:1
Rule: "@typescript-eslint/ban-ts-comment"
Pass --verbose to see the stacktrace.

Expected Behavior

expecting lint works

GitHub Repo

No response

Steps to Reproduce

Nx Report

NX Report complete - copy this into the issue template

Node : 20.11.0
OS : win32-x64
Native Target : x86_64-windows
npm : 10.2.4

nx (global) : 20.0.0
nx : 20.0.0
@nx/js : 20.0.0
@nx/jest : 20.0.0
@nx/eslint : 20.0.0
@nx/workspace : 20.0.0
@nx/angular : 20.0.0
@nx/cypress : 20.0.0
@nx/devkit : 20.0.0
@nx/eslint-plugin : 20.0.0
@nx/web : 20.0.0
@nx/webpack : 20.0.0
typescript : 5.5.4

Registered Plugins:
@nx/cypress/plugin
@nx/eslint/plugin

Failure Logs

No response

Package Manager Version

npm 10.2.4

Operating System

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

Additional Information

could be related to typescript-eslint/typescript-eslint#8075

@leosvelperez
Copy link
Member

This was fixed by #28381 and the fix will be released soon.

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

2 participants