MietzeKatze
MietzeKatze•3w ago

No matching export in "node_modules/better-auth/dist/adapters/index.mjs"

Im getting a couple of error messages I cant comprehend, while trying to add convex better auth to my react vite project . Does anybody know whats going on ? (see screenshots)
No description
No description
8 Replies
MietzeKatze
MietzeKatzeOP•3w ago
No description
No description
erquhart
erquhart•3w ago
What version of better-auth and @convex-dev/better-auth are you running
MietzeKatze
MietzeKatzeOP•3w ago
"better-auth": "1.3.8", "convex": "^1.28.0", "@convex-dev/better-auth": "^0.9.6", It works now ! FIX: npm i better-auth@1.3.27 to prevent this from happening to someone else, maybe its good to change it in tutorial
MietzeKatze
MietzeKatzeOP•3w ago
npm install better-auth@1.3.8 --save-exact
npm install convex@latest @convex-dev/better-auth
npm install better-auth@1.3.8 --save-exact
npm install convex@latest @convex-dev/better-auth
1.3.8 doesnt seem to be compatible as for now change to 1.3.27 what was also needed was :
npm i --save-dev @types/semver
npm i --save-dev @types/common-tags
npm i --save-dev @types/semver
npm i --save-dev @types/common-tags
erquhart
erquhart•3w ago
yeah the version change to their docs was submitted, hasn't been deployed yet hadn't heard of folks needing to install those types, what package manager?
MietzeKatze
MietzeKatzeOP•3w ago
eeeehm just npm 😇 im not sure I get the question right 😄 also I just found the ask-ai channel 🙂 its awesome. Trying to ask there more and relief you from my bombardement of questions 😄 . I think I said it already, but thank you for spending so much time here and trying to help people out 🙂
erquhart
erquhart•3w ago
No problem!

Did you find this page helpful?