重新启动计算机后出现Nodejs错误

问题描述 投票:-1回答:1

有人可以告诉我这个错误是什么吗?

(node:6540) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'data' of undefined
    at global.loadFactions (C:\Users\Brosiden\Desktop\redunion\Server\packages\server\src\systems\factions\index.js:11:29)
    at prom.then (C:\Users\Brosiden\Desktop\redunion\Server\packages\server\src\systems\databox\index.js:29:7)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:6540) 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:6540) [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.

昨晚一切正常。早晨,我重新启动了计算机,然后它继续抛出此错误。

node.js json
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.