question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(node:6560) UnhandledPromiseRejectionWarning: TypeError: (0 , _preactRenderToString.default) is not a function

See original GitHub issue

Good 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:closed
  • Created 3 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Djiitcommented, Mar 8, 2021

Looks like a duplicate of #1470

0reactions
weltonclimacommented, Mar 8, 2021

With the update is working, thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: (0 , o.default) is not a function
It seems to be import statement somewhere in your file is incorrect. Example: (from an issue) // fails import combineReducers from "redux" ...
Read more >
TypeError: (0 , _css.default) is not a function #6346 - GitHub
Prerequisites I am using the correct version of React-Bootstrap for my version of Bootstrap I have searched for duplicate or closed issues I ......
Read more >
TypeError: "x" is not a function - JavaScript - MDN Web Docs
The JavaScript exception "is not a function" occurs when there was an attempt to call a value from a function, but the value...
Read more >
How to Handle JavaScript Uncaught TypeError: “x” is Not a ...
The Javascript TypeError: "x" is not a function occurs when calling a function on a value or object, which is not actually a...
Read more >
is not a function or its return value is not iterable in ReactJs ...
TypeError : react__WEBPACK_IMPORTED_MODULE_0_default is not a function or its return value is not iterable 1 | import useState from 'react'; ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found