PromeS unhandledRejection 将下面的代码放入入口函数,可以看到详细的报错信息 将下面的代码放入入口函数,可以看到详细的报错信息 process.on(‘unhandledRejection’, (reason, p) => { console.log( reason) // application specific logging, throwing an error, or other logic here });