© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
AsyncLocalStorage is not available in this environment after upgrade to v1.4 - Better Auth
BA
Better Auth
•
5mo ago
•
1 reply
VincentChan
AsyncLocalStorage is not available in this environment after upgrade to v1.4
Next.js
installHook
.
j
s
:1
[better
-auth
] Warning
: AsyncLocalStorage is not available in this environment
. Some features may not work as expected
.
installHook
.
j
s
:1
[better
-auth
] Please read more about this warning at
https://better-auth.com/docs/installation#mount-handler
installHook
.
j
s
:1
[better
-auth
] If you are using Cloudflare Workers
, please see
:
https://developers.cloudflare.com/workers/configuration/compatibility-flags/#nodejs-compatibility-flag
Uncaught
(in promise
) TypeError
: Failed to fetch dynamically imported module
:
n
o
d
e
:async
_hooks
how to resolve this error
Cloudflare Docs
Compatibility flags
Opt into a specific features of the Workers runtime for your Workers project
.
Installation | Better Auth
Learn how to configure Better Auth in your project
.
Recent Announcements
Similar Threads
Typescript error after upgrade to v1.2.1
BA
Better Auth / help
13mo ago
Import the Node standard library module "node:module" in expo after upgrade to v1.4.6
BA
Better Auth / help
4mo ago
TypeScript error with sveltekitCookies after updating to v1.3.4
BA
Better Auth / help
9mo ago
Pending state is not changing even after the data is available.
BA
Better Auth / help
14mo ago