© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Error [TypeError]: Cannot read properties of undefined (reading 'encrypted') - Better Auth
BA
Better Auth
•
11mo ago
•
3 replies
Henry
Error [TypeError]: Cannot read properties of undefined (reading 'encrypted')
I
'm trying to set up Better Auth on the Next
.js edge runtime using toNodeHandler
(required for the pages router
)
, but I
'm getting the above error
.
Has anyone managed to get it working on the edge runtime with the pages router
?
Recent Announcements
Similar Threads
TypeError: Cannot read properties of undefined (reading 'referencedTable')
BA
Better Auth / help
2w ago
⨯ TypeError: Cannot read properties of undefined (reading 'bind')
BA
Better Auth / help
9mo ago
INTERNAL_SERVER_ERROR TypeError: Cannot read properties of undefined (reading 'valueOf')
BA
Better Auth / help
5mo ago