When I try to run ng serve in the command line in VSCode tihs error pops out:
"No projects support the 'serve' target."
What should I do?
3 Answers
Update @angular/cli
- npm install -g @angular/cli
- npm install @angular/cli
- ng update @angular/cli
see also this link :
1run npm install --ignore-scripts from the project directory
1Check angular.json file, must be something is not proper with the projects property