0

here is the error showing in my powershell

this is the error when I run this command ng serve --open

Angular CLI: 9.0.6 Node: 12.16.1 OS: win32 x64

This is my angular cli version:

enter image description here

2
  • 1
    can you please specify the error thrown in your browser too if any? Commented Mar 12, 2020 at 9:54
  • when i run this localhost:4200 in browser . the browser only showing unable to connect Commented Mar 12, 2020 at 9:57

1 Answer 1

1

I'm not sure why this error comes. I think you should try to run Angular application by : ng serve instead of ng serve --open .

I think the issue is because of an environment variable of your system path is missing . Add "C:\Windows\System32\" value to your system PATH variable.

Sign up to request clarification or add additional context in comments.

2 Comments

thanks its working but why this command are given in the angular documentation site which actually are not working
Glad it works. Did you check my second point. I think because of your system configuration it is not working. Otherwise ng serve --open command is correct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.