Listening at http://localhost:8080
(node:28489) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Exited with code 3 (node:28489) [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.
1
viko16 2017-09-11 18:32:48 +08:00 1
这句话只是告诉你,有个没被处理的 promise rejection 被扔出来了,楼主还是多补点异常日志吧
|
2
chairuosen 2017-09-11 18:34:20 +08:00 1
node 端的代码有 Promise 的地方都加个.catch 抓异常
|
3
littleylv 2017-09-11 18:43:36 +08:00
遇到问题:
Google ✖️ Bing ✖️ V2 发帖 ✔️ |
4
Lisp 2017-09-11 19:24:17 +08:00 via iPhone
程序员没有见到红色的 error 就大胆往前走
|
5
blackjar 2017-09-11 20:07:23 +08:00
"In the future, xxxxx" future 的事情 future 再说
|