"'wmic.exe' is not recognized as an internal or external command, operable program or batch file"


'wmic.exe' is not recognized as an internal or external command, operable program or batch file.

每当我在命令提示符上运行ng serve --open时,我都会看到这种错误。这对我在Angular9中运行程序没有太大影响,但我只是担心这个,因为这可能会在将来引起问题。

我很久以前就解决了这个问题,但没有设法把答案放在这里。因此,我通过更新Angular来解决这个问题,并在每次运行该程序时执行--port 1234

相关内容

最新更新