Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
AsyncLocalStorage is not available in this environment after upgrade to v1.4 - Better Auth
BA
Better Auth
•
3mo 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
.
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Typescript error after upgrade to v1.2.1
BA
Better Auth / help
12mo ago
Import the Node standard library module "node:module" in expo after upgrade to v1.4.6
BA
Better Auth / help
3mo ago
TypeScript error with sveltekitCookies after updating to v1.3.4
BA
Better Auth / help
7mo ago
Pending state is not changing even after the data is available.
BA
Better Auth / help
13mo ago