BA
Better Auth2mo ago
z

1.1.19 breaks expo client

It has something to do with module imports, (can't resolve hex random createHash) i tried this but did not helped.
"better-auth/react": "../../node_modules/better-auth/dist/react.js",
"better-auth/client/plugins": "../../node_modules/better-auth/dist/client/plugins.js",
// "@better-auth/utils/hash": "../../node_modules/@better-auth/utils/dist/hash.mjs",
// "@better-auth/utils/random": "../../node_modules/@better-auth/utils/dist/random.mjs",
// "@better-auth/utils/hex": "../../node_modules/@better-auth/utils/dist/hex.mjs",
"@better-auth/expo/client": "../../node_modules/@better-auth/expo/dist/client.js",
"better-auth/react": "../../node_modules/better-auth/dist/react.js",
"better-auth/client/plugins": "../../node_modules/better-auth/dist/client/plugins.js",
// "@better-auth/utils/hash": "../../node_modules/@better-auth/utils/dist/hash.mjs",
// "@better-auth/utils/random": "../../node_modules/@better-auth/utils/dist/random.mjs",
// "@better-auth/utils/hex": "../../node_modules/@better-auth/utils/dist/hex.mjs",
"@better-auth/expo/client": "../../node_modules/@better-auth/expo/dist/client.js",
1 Reply
z
zOP2mo ago
fixed it by downgrading to .18

Did you find this page helpful?