I've created a slack bot that I want to deploy with vercel and I keep getting the error: Error: Command "npm run build" exited with 1
when running vercel deploy.
In my package.json file I have: "build": "next build"
which is obviously incorrect as it throws this error. The vercel docs suggest (https://vercel.com/docs/errors#error-list/missing-build-script) "scripts": { "build": "[my-framework] build --output public"
so my question is, what is actually expected in here in order to make this work?
I would really appreciate some help getting the project up and running so I can use it on slack. It works locally just fine, but can't get it up and running without me starting it locally. Here is the repo: https://github.com/Chaffexd/weds-slack-bot