Next.js Discord

Discord Forum

vercel deploy committing error

Answered
Silver Fox posted this in #help-forum
Open in Discord
Silver FoxOP
not kinda a next.js problem, but idk where else to post this.
when i commit a change on my github repo, the deployment comes out with an error: Command "npm run build" exited with 1, i already tried overriding the Build command and write CI='' npm run build In the "Build & Development Settings", as some stack overflow post suggested, but still nothing
Answered by joulev
then that is the error and you need to fix
View full answer

9 Replies

Silver FoxOP
look at the logs down below
Silver FoxOP
how about the lines above it?
click on "view more" or whatever button that appears there
Silver FoxOP
syntax error caused by a div?
then that is the error and you need to fix
Answer
Silver FoxOP
ye i realized but how is that even possible, i'll check further on it