Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: Angular CLI v10.1.0 and later (and no `tsconfig.base.json`)

In my Angular 11 project I'm trying to replace tslint with eslint but the following command:

ng add @angular-eslint/schematics

gives me this error:

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.

how come my Angular CLI version is already higher than 10.1.0 but I still have the tsconfig.base.json file and how to fix it?

like image 508
Francesco Borzi Avatar asked Apr 28 '26 02:04

Francesco Borzi


1 Answers

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 me to proceed with the migration.

like image 102
Francesco Borzi Avatar answered Apr 29 '26 20:04

Francesco Borzi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!