Starlord
Starlord3mo ago

starlord_gf's Thread

hey i am using vite pwa plugin and after last convex npm update i get this error on vercel build. anyone knows how to fix?
error during build:
[vite-plugin-pwa:build] node_modules/convex/dist/esm/browser/sync/authentication_manager.js (5:7): "default" is not exported by "node_modules/jwt-decode/build/esm/index.js", imported by "node_modules/convex/dist/esm/browser/sync/authentication_manager.js".
error during build:
[vite-plugin-pwa:build] node_modules/convex/dist/esm/browser/sync/authentication_manager.js (5:7): "default" is not exported by "node_modules/jwt-decode/build/esm/index.js", imported by "node_modules/convex/dist/esm/browser/sync/authentication_manager.js".
2 Replies
convex-threads
convex-threads3mo ago
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. If this is a support-related question, please create a post in #support-community. If not, carry on! Thanks!
Starlord
StarlordOP3mo ago
install jwt-decode@3.1.2 fixed it. strange it doesnt get automatically installed on package update

Did you find this page helpful?