Updated to Angular 11. Getting Error: Angular CLI v10.1.0 and later (and no `tsconfig.base.json`) is required in order to run this schematic.

See original GitHub issue

I updated my project to Angular 11.

I ran this and got the following error. It did not install anything. How do I fix this?

ng add @angular-eslint/schematics

Error: Angular CLI v10.1.0 and later (and no `tsconfig.base.json`) is required in order to run this schematic. Please update your workspace and try again.

Issue Analytics

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

github_iconTop GitHub Comments

6reactions
LeoLfLcommented, Nov 28, 2020

hi. i had the same issued after I updated angular to the 11 version using --force params. I fixed it using this

ng update @angular/cli --migrate-only --from 9 --to 11
ng update @angular/core --migrate-only --from 9 --to 11

@JamesHenry maybe u can add this do the documentation too =)

2reactions
windcloakcommented, Nov 23, 2020

I got it working, but I had to delete tsconfig.base.json before running ng add @angular-eslint/schematics and ng g @angular-eslint/schematics:convert-tslint-to-eslint {{YOUR_PROJECT_NAME_GOES_HERE}}

I had to restore tsconfig.base.json before running the last line, npx ng lint {{YOUR_PROJECT_NAME_GOES_HERE}}

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Angular CLI v10.1.0 and later (and no `tsconfig.base.json`)
I've solved the issue by running ng update @angular/cli --migrate-only --from 9 --to 10. this will correctly remove the tsconfig.base.json ...
Read more >
tsconfig.base.json does not exist after upgrade to Angular 10 ...
The installed local Angular CLI version is older than the latest stable version. Installing a temporary version to perform the update.
Read more >
Angular Update Guide
We are deprecating support for @angular/platform-webworker , as it has been incompatible with the CLI. Running Angular's rendering architecture in a web ...
Read more >
Error: Angular CLI v10.1.0 and later (and no `tsconfig.base.json`)
I've solved the issue by running ng update @angular/cli --migrate-only --from 9 --to 10. this will correctly remove the tsconfig.base.json file and allows ......
Read more >
@angular-eslint/schematics - npm package | Snyk
We strongly recommend that you do not try and hand-craft setups with angular-eslint and Nx. It is easy to get things wrong. If...
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