You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I start the server and client everything works fine. I log in to the account successfully and as soon as I send the first message to chat, the server crashes. This is what it looks like in the console:
npm run server
Example app ready
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: 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(). The promise rejected with the reason "function Error() { [native code] }".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Node.js v19.1.0
After the 'Example app ready' line you can see the error that throws after i press 'Enter' in the chat page with message 'hi'
The text was updated successfully, but these errors were encountered:
When I start the server and client everything works fine. I log in to the account successfully and as soon as I send the first message to chat, the server crashes. This is what it looks like in the console:
npm run server
Example app ready
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: 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(). The promise rejected with the reason "function Error() { [native code] }".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Node.js v19.1.0
After the 'Example app ready' line you can see the error that throws after i press 'Enter' in the chat page with message 'hi'
The text was updated successfully, but these errors were encountered: