Codelyzer requires Angular 9 instead of Angular 10
Asked Answered
M

2

5

When I am running the command npm ls -json in my node js project I get the following error:

npm ERR! missing: @angular/[email protected], required by [email protected]
npm ERR! missing: @angular/[email protected], required by [email protected]

@angular/core and @angular/compiler are already installed in the dependencies of my project, but with version 10.2.4

The error only occures when I am running yarn install to install my packages. If I am using npm install everything works fine, but takes a while.

Is there any version of codelyzer that uses Angular 10 instead of Angular 9 or some other package that solves the same problem?

Environment:

  • OS: Windows

  • Package Manager: yarn

  • Angular version: 10

Manila answered 2/11, 2021 at 10:45 Comment(0)
M
14

I found out, that Codelyzer is deprecated and I had to remove it and install "eslint" package instead. EsLint has included all features of codelyzer.

Manila answered 15/11, 2021 at 14:34 Comment(0)
C
2

I found this Github conversastion and based on that I just had to update the version for Angular 10. The Codelayzer version was @6.0.0

Charmine answered 31/1, 2022 at 7:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.