Next.js Discord

Discord Forum

How can i build the exact same way as vercel ?

Answered
MalvadoEZY posted this in #help-forum
Open in Discord
Im running to errors building on vercel which i dont have it locally after building it and starting. how can i build the same way as vercel ? so i can spot the errors locally ?
Answered by B33fb0n3
you can use the command vercel build in your terminal. You may need to download their CLI first and pull your project configuration from vercel, but after that it's possible with the mentioned command
View full answer

3 Replies

@MalvadoEZY Im running to errors building on vercel which i dont have it locally after building it and starting. how can i build the same way as vercel ? so i can spot the errors locally ?
you can use the command vercel build in your terminal. You may need to download their CLI first and pull your project configuration from vercel, but after that it's possible with the mentioned command
Answer
thanks so much
happy to help