question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

wrong package version added to angular 13 project

See original GitHub issue

When you run ng add @angular-eslint/schematics to a brand new Angular 13 project, it adds @angular-eslint/schematics@1.2.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
zeljkoantichcommented, Nov 11, 2021

Hitting the same isseeee on Linux Mint 20 Cinnamon ( Ubuntu Release ) . Angular: @angular/cli@13.0.2

After running ng add @angular-eslint/schematics i got:

ℹ Using package manager: npm
✔ Found compatible package version: @angular-eslint/schematics@1.2.0.
✔ Package information loaded.

The package @angular-eslint/schematics@1.2.0 will be installed and executed.
Would you like to proceed? Yes
✔ Package successfully installed.
An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID
See "/tmp/ng-wNTZDG/angular-errors.log" for further details.

Got it resolved by using ng add @angular-eslint/schematics@latest instead.

0reactions
JamesHenrycommented, Nov 18, 2021

v13.0.0 of angular-eslint has been released which contains Angular 13 support and is picked up automatically by ng add.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm - Angular - Wrong package versions? - Stack Overflow
Solution is to delete node_modules and package-lock. json and clear cache by running npm cache clean --force .
Read more >
Angular versioning and releases
We update peer dependencies in minor versions by expanding the supported versions, but we do not require projects to update these dependencies. Patch...
Read more >
Keeping your Angular projects up-to-date
To check your application's version of Angular: From within your project directory, use the ng version command. Finding the current version of Angularlink....
Read more >
ng update - Angular
Perform a basic update to the current stable release of the core framework and CLI by running the following command. ... To update...
Read more >
Angular package format
This document describes the Angular Package Format (APF). APF is an Angular specific specification for the structure and format of npm packages that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found