Next.js Discord

Discord Forum

Vercel error with Yarn

Answered
Dwarf Crocodile posted this in #help-forum
Open in Discord
Dwarf CrocodileOP
Hello. I am trying to deploy an app to Vercel with Next 13.4.12 and for some reason my build script runs over and over until Vercel says "Error: Command "vercel build" exited with SIGKILL".

I am pretty new to using Next and Vercel. This is my first project I've used Yarn with as well so I am in uncharted waters. If anyone could help me I would really appreciate it. Thank you very much.
Answered by joulev
Change “build”: “yarn build” in package.json to “build”: “next build”
View full answer

5 Replies

Answer
Dwarf CrocodileOP
Is it really that simple?
It got rid of that error. Now another error popped up haha.
Thank you for answering me @joulev
@Dwarf Crocodile It got rid of that error. Now another error popped up haha.
Open another post with that error message