Uncaught SyntaxError: 'super' keyword unexpected here. better-auth_client_plugins.js:11633

please someone help I am getting this error in the latest version of better-auth I am using react router v7 in frontend and hono in backend I both deploy to cloudflare workers I am getting this error on both localhost and on cloudflare workers
No description
No description
7 Replies
HotShot
HotShot2mo ago
i am getting this as well after the most recent update
mehedi
mehediOP2mo ago
@HotShot yeah bro no is answering. I need to fix it ASAP
HotShot
HotShot2mo ago
just revert versions for now
mehedi
mehediOP2mo ago
yeah I guess this what I have to do but I need the latest versions to use some features
HotShot
HotShot2mo ago
they are pretty fancy :(
oscabriel
oscabriel2mo ago
Yep seeing the same as well on 1.3.8, on multiple different Vite apps
Alejandro Montes
Same here using vite and hono. Updating to 1.3.9 seems to fix it.

Did you find this page helpful?