I'm getting the following error after an npm audit fix --force
(I know, I know).
The build command requires to be run in an Angular project, but a project definition could not be found.
I'm guessing that I need a project.json
file however I can't find a template (or documentation) for that.
Extracts from my package.json
:
"dependencies": {
"@angular/animations": "^5.0.3",
"@angular/common": "^5.0.3",
"@angular/compiler": "^5.0.3",
"@angular/core": "^5.0.3",
"@angular/forms": "^5.0.3",
"@angular/http": "^5.0.3",
"@angular/platform-browser": "^5.0.3",
"@angular/platform-browser-dynamic": "^5.0.3",
"@angular/router": "^5.0.3",
"devDependencies": {
"@angular/cli": "^7.2.3", <-- previously 1.5.4
"@angular/compiler-cli": "^5.0.3",
(can post full file if needed)