Angular13 codelyzer and @angular/core dependency not solving
Asked Answered
C

1

17

I used Angular 13. "@angular/core": "~13.3.11" "codelyzer": "^6.0.2". When i used npm install it install all dependencies with below warnings. I try npm audit --force so it converts codelyzer version to 0.0.28 and now npm install throw errors that [email protected] not supported with angular13. So i am in loop now.

npm i -> throw warning to audit from [email protected] to @0.0.28

npm audit --force: change version of [email protected] now npm i throw errors [email protected] not supported with angular13.

How to exit from this loop?

enter image description here

Chorion answered 14/7, 2022 at 13:25 Comment(7)
have you found any solution for this?Rowen
same in Angular 15. No idea how to fix itHight
Not find any solution yet.Chorion
I would recommend use es-lint, codelyzer is deprecated for new versions of angularDispersive
NPM can be strange sometimes. Try deleting node_modules and package-lock.json then run npm install. I hate it, but sometimes that does work.Petaloid
@AnantDoshi, Did you solve the issue? I am facing same issue!Clandestine
@ChrisBarr, not worked! delete both node_modules and package-lock file and reinstalling them, getting same error!Clandestine
S
1

Codelyzer is obsolete, remove it. Install the EsLint package instead: ng add @angular-eslint/schematics

Staffard answered 8/12, 2023 at 21:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.