[英]Unable to serve angular application with ng serve --open
here is the error showing in my powershell这是我的 powershell 中显示的错误
this is the error when I run this command ng serve --open
这是我运行此命令时的错误
ng serve --open
Angular CLI: 9.0.6 Node: 12.16.1 OS: win32 x64 Angular CLI:9.0.6 节点:12.16.1 操作系统:win32 x64
This is my angular cli version:这是我的角度 cli 版本:
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
.我认为您应该尝试通过以下方式运行 Angular 应用程序:
ng serve
而不是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.将“
C:\\Windows\\System32\\
”值添加到您的系统 PATH 变量中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.