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

lib lint error in 19.8.14 #29709

Open
1 of 4 tasks
EnochGao opened this issue Jan 22, 2025 · 0 comments
Open
1 of 4 tasks

lib lint error in 19.8.14 #29709

EnochGao opened this issue Jan 22, 2025 · 0 comments
Assignees
Labels
scope: linter Issues related to Eslint support in Nx type: bug

Comments

@EnochGao
Copy link

Current Behavior

lib lint error in 19.8.14

Image

Expected Behavior

normal

GitHub Repo

https://github.com/EnochGao/nx-test/tree/19.8.14

Steps to Reproduce

  1. npx [email protected]
  2. create a lib 'a'
  3. npx nx run a:lint

Nx Report

Node           : 20.18.1
OS             : linux-x64
Native Target  : x86_64-linux
npm            : 10.8.2

nx                 : 19.8.14
@nx/js             : 19.8.14
@nx/jest           : 19.8.14
@nx/linter         : 19.8.14
@nx/eslint         : 19.8.14
@nx/workspace      : 19.8.14
@nx/angular        : 19.8.14
@nx/devkit         : 19.8.14
@nx/eslint-plugin  : 19.8.14
@nrwl/tao          : 19.8.14
@nx/web            : 19.8.14
@nx/webpack        : 19.8.14
typescript         : 5.5.4
---------------------------------------
Community plugins:
angular-eslint : 18.4.3

Failure Logs

Occurred while linting /home/enochgao/桌面/github/nx-test/libs/a/src/lib/a/a.component.html:1
Rule: "@typescript-eslint/ban-ts-comment"
TypeError: Cannot read properties of undefined (reading 'at')
Occurred while linting /home/enochgao/桌面/github/nx-test/libs/a/src/lib/a/a.component.html:1
Rule: "@typescript-eslint/ban-ts-comment"
    at Program (/home/enochgao/桌面/github/nx-test/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js:118:50)
    at ruleErrorHandler (/home/enochgao/桌面/github/nx-test/node_modules/eslint/lib/linter/linter.js:1098:48)
    at /home/enochgao/桌面/github/nx-test/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/home/enochgao/桌面/github/nx-test/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/home/enochgao/桌面/github/nx-test/node_modules/eslint/lib/linter/node-event-generator.js:297:26)
    at NodeEventGenerator.applySelectors (/home/enochgao/桌面/github/nx-test/node_modules/eslint/lib/linter/node-event-generator.js:326:22)
    at NodeEventGenerator.enterNode (/home/enochgao/桌面/github/nx-test/node_modules/eslint/lib/linter/node-event-generator.js:337:14)
    at runRules (/home/enochgao/桌面/github/nx-test/node_modules/eslint/lib/linter/linter.js:1142:40)
    at #flatVerifyWithoutProcessors (/home/enochgao/桌面/github/nx-test/node_modules/eslint/lib/linter/linter.js:1911:31)

Package Manager Version

10.8.2

Operating System

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

Additional Information

No response

@AgentEnder AgentEnder added the scope: linter Issues related to Eslint support in Nx label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: linter Issues related to Eslint support in Nx type: bug
Projects
None yet
Development

No branches or pull requests

3 participants