(node:6560) UnhandledPromiseRejectionWarning: TypeError: (0 , _preactRenderToString.default) is not a function
See original GitHub issueGood evening! I’m getting this error, I’ve tried everything and even used another notebook but the error persists.
(node:6560) UnhandledPromiseRejectionWarning: TypeError: (0 , _preactRenderToString.default) is not a function
at signin (C:\www\next auth\netx-auth\node_modules\next-auth\dist\server\pages\signin.js:46:44)
at Object.signin (C:\www\next auth\netx-auth\node_modules\next-auth\dist\server\pages\index.js:48:35)
at C:\www\next auth\netx-auth\node_modules\next-auth\dist\server\index.js:188:29
at Generator.next (<anonymous>)
at asyncGeneratorStep (C:\www\next auth\netx-auth\node_modules\next-auth\dist\server\index.js:52:103)
at _next (C:\www\next auth\netx-auth\node_modules\next-auth\dist\server\index.js:54:194)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:6560) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 48)
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (3 by maintainers)
Looks like a duplicate of #1470
With the update is working, thank you!