How can I solve "No projects support the 'serve' target." Error?

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

  1. npm install -g @angular/cli
  2. npm install @angular/cli
  3. ng update @angular/cli

see also this link :

1

run npm install --ignore-scripts from the project directory

1

Check angular.json file, must be something is not proper with the projects property

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like