Build fails every time with "npm run build exited with 1" error message
Unanswered
fdoglio posted this in #help-forum
fdoglioOP
As of today, none of my attempts to build my app work on Vercel.
My local build process works just fine, however, the only error message I constantly get from Vercel's deployment attempt is "npm run build exited with 1", that's it. No build logs, or anything.
Any idea?
My local build process works just fine, however, the only error message I constantly get from Vercel's deployment attempt is "npm run build exited with 1", that's it. No build logs, or anything.
Any idea?
17 Replies
fdoglioOP
I was able to solve this problem by installing the
vercel CLI tool on my local, and deploying using it. But if the deploy is triggered direclty on Vercel by a Github push, the build will fail. So I'm not closing this one as "solved"@joulev what is your project settings
fdoglioOP
what do you mean? what setting?
project deployment settings
what command to build, deploy etc
also "Root Directory" if you configured it
@fdoglio this was working just fine the last time I pushed before today BTW
interesting... maybe you should open a support ticket
because everything looks good
and if vercel CLI works the git integration should work as well
to try to troubleshoot maybe you can disconnect the git repo and reconnect again
to set up a new git integration
fdoglioOP
how do I open a support ticket? I couldn't find it
https://vercel.com/help, only applicable to paid plan accounts
if you use hobby plan you have github discussions https://github.com/orgs/vercel/discussions
fdoglioOP
ah yes, I opened a discussion already on Github, and yes, it's a hobby account for the time being