Next.js Discord

Discord Forum

Local Build fails but Vercel build succeds?

Answered
Jack @ DJL posted this in #help-forum
Open in Discord
Avatar
https://github.com/JnMProjects/NoPlus/tree/web-dev

I dont know what happens bu npm run dev npm run build turbo dev turbo build all end up in a mess
where the page loads but seconds later it errors

Gimme a minute ill send a video
Image
Answered by Jack @ DJL
I finaly fixed it by creating new branch without next app, switching to it, delete the remains (.next .turbo node_modules...) and switch back to main
View full answer

3 Replies

Avatar
oh no to big
Avatar
Avatar
I finaly fixed it by creating new branch without next app, switching to it, delete the remains (.next .turbo node_modules...) and switch back to main
Answer