编译成功后显示错误阻止在angular 7项目的浏览器上显示结果视图?

编译成功后显示错误阻止在angular 7项目的浏览器上显示结果视图?,angular,typescript,angular7,angular-components,Angular,Typescript,Angular7,Angular Components,问题 我用asp.NETCore2.2制作WebAPI,并用PostMan测试成功 之后,我打开VisualStudio代码并打开angular 7项目以查看web API结果 但问题在于angular 7编译成功,但浏览器无法打开 查看我的web API结果 在编译成功后给我这些错误 我在终端上写字 ng发球-o 它给我的结果如下 i 「wdm」: Compiled successfully. (node:8000) UnhandledPromiseRejectionWarning: Erro

问题

我用asp.NETCore2.2制作WebAPI,并用PostMan测试成功

之后,我打开VisualStudio代码并打开angular 7项目以查看web API结果

但问题在于angular 7编译成功,但浏览器无法打开

查看我的web API结果

在编译成功后给我这些错误

我在终端上写字

ng发球-o

它给我的结果如下

i 「wdm」: Compiled successfully.
(node:8000) UnhandledPromiseRejectionWarning: Error: spawn cmd ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
    at onErrorNT (internal/child_process.js:456:16)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
(node:8000) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:8000) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
如何解决此错误以在浏览器上查看我的结果

实际上我需要解决上面的错误,因为它阻止我 请参见浏览器上的角度投影结果

我尝试升级到angular 8,但这并不能解决我的问题


此外,终端上的npm更新无法解决我的问题

此错误与角度无关,在端口8000上运行的“代码>节点.js<代码>应用程序记录了这个错误。

谢谢您的回复。您能告诉我如何登录错误或哪个文件保存节点的日志i不能做任何事?如果可能的话,请不要帮助我。如果我的答案是有用的,请考虑接受我的回答。我不确定您想要什么。你能说得更具体一点吗?如何找到问题的原因,以及当日志文件跟踪问题时,这是一个模棱两可的问题