-4
I installed the angler: npm install -g @angular/cli and created a project. While trying to run ng serves I caught that mistake:
The serve command requires to be run in an Angular project, but a project Definition could not be found.
I’ve already updated ng update @angular/cli @angular/core and even with the update continues the message. I gave an ng v and received this:
Angular CLI: 10.0.4
Node: 10.16.3
OS: Win32 x64
Angular:
...
Ivy Workspace:
Package Version
@angular-devkit/Architect 0.1000.4
@angular-devkit/core 10.0.4
@angular-devkit/Schematics 10.0.4
@Schematics/angular 10.0.4
@Schematics/update 0.1000.4
rxjs 6.5.5
Someone knows how I fix it?
Edit1
{ "Resource": "/c:/Projects/Nettestes/Nettestes/angular.json", "Owner": "generated_diagnostic_collection_name#1",
"Severity": 4, "message": "Property Nettestes is not allowed.",
"startLineNumber": 6, "startColumn": 5, "endLineNumber": 6, "endColumn": 16 }
Complementing only. In angular.json I have this: Property Nettestes is not allowed.
– pnet