I have update my angular and I get the following error:
The serve command requires to be run in an Angular project, but a project definition could not be found.
I have done already following:
D:\IntelliJProjects\springboottests\src\main\frontend2>ng update @angular/cli --migrate-only
Package not installed: "@angular/cli". Skipping.
We analyzed your package.json and everything seems to be in order. Good work!
D:\IntelliJProjects\springboottests\src\main\frontend2>ng serve
The serve command requires to be run in an Angular project, but a project definition could not be found.
D:\IntelliJProjects\springboottests\src\main\frontend2>
I am in the folder with package.json and angular-cli.json.
I have tried already suggestions from stackoverflow, but nothing helped.
My version:
Package Version
------------------------------------------------------
@angular-devkit/architect 0.12.2 (cli-only)
@angular-devkit/core 7.2.2 (cli-only)
@angular-devkit/schematics 7.2.2 (cli-only)
@angular/tsc-wrapped 0.5.2
@ngtools/json-schema 1.1.0
@ngtools/webpack 1.10.2
@schematics/angular 7.2.2 (cli-only)
@schematics/update 0.12.2 (cli-only)
rxjs 6.3.3
typescript 3.2.4
webpack 2.2.0
any help ?