Server Actions dont work on vercel
Unanswered
Arinji posted this in #help-forum
ArinjiOP
Hilo, so I just get this error on vercel (which i dont get locally)
https://github.com/Arinji2/vibeify
Any ideas?
Error: Cannot find module 'next/dist/compiled/next-server/app-page-experimental.runtime.prod.js'
Require stack:https://github.com/Arinji2/vibeify
Any ideas?
18 Replies
Have you done npm update locally and test if it works?
ArinjiOP
it does work locally
With prod version too?
ArinjiOP
one sec lemme check
yup it worked, but the npm update did do sm changes to the package lock, lemme push that and see if it fixes on vercel
but locally building works
ðŸ‘
@Clown ðŸ‘
ArinjiOP
still broken :(
Error: Cannot find module 'next/dist/compiled/next-server/app-page-experimental.runtime.prod.js'
Require stack:
- /var/task/.next/server/app/(authPages)/register/page.js
- /var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js
- /var/task/___next_launcher.cjs
...
Error: Runtime exited with error: exit status 1
Runtime.ExitErrorwould something like deleting the project on vercel help?
ArinjiOP
Bump :(
i regret to say i now also suffer from this issue
the error appears after i upgraded from 13.5.4 to 13.5.6-canary.7, you may want to downgrade your next version
works on 13.5.5
make sure to add the ts ignore thing as well when you import exprimental use Form stuff
I think this is due to nextjs moving from react@experimental to react@canary - the work is still ongoing
ArinjiOP
yeaa :(