Click here to Skip to main content
14,364,399 members
Rate this:
Please Sign up or sign in to vote.
Problem
I work on angular 7.1 work with asp.net core 2.1 api and windows is windows 7 .
when run web API on asp.net core 2.1 and after that open visual studio code
and write on on terminal
ng serve -o
give me compiled successfully but not show result on browser
why that done . and how to solve that problem .
i ?wdm?: Compiled successfully.
(node:9096) 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:9096) 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:9096) [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.


What I have tried:

I try to update from angular 7 to angular 8
put problem still exist
How to solve this problem please ?
Posted
Comments
Kornfeld Eliyahu Peter 5-Nov-19 2:37am
   
Unhandled promise rejection. Look for it and read about...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100