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 issueI 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:
- Created 3 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
hi. i had the same issued after I updated angular to the 11 version using
--force
params. I fixed it using this@JamesHenry maybe u can add this do the documentation too =)
I got it working, but I had to delete
tsconfig.base.json
before runningng add @angular-eslint/schematics
andng 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}}