Open Drewzar opened 1 year ago
Hi, same error
Hi, I solved this issue following these steps:
"engines": { "node": ">=14.0.0 <17.0.0" }
following https://github.com/nuxt/vercel-builder/issues/761#issuecomment-1336281610I use node@16. And when I push to vercel I don't send the package-lock.json to avoid error like Serverless function > 50.
I hope it can be helpful. Thanks and regards,
Davide
Hey @DidoMarchet, thanks for the update, but I don't believe this relates to my issue.
Hey @DidoMarchet, thanks for the update, but I don't believe this relates to my issue.
Ok!
Hello! Did you manage to fix the issue? We are facing a similar problem and I have no idea where to start to fix it.
In my case, we want to get a Vercel cronjob to run but seems vercel-builder's config gets in the way.
This config worked for us, and built the project successfully:
"builds": [
{
"src": "nuxt.config.js",
"use": "@nuxtjs/vercel-builder@0.22.1", // we had to lock it in 0.22.1 cos newer versions were crashing the builds.
"config": {
"internalServer": true,
"serverFiles": [ your files here ]
}
},
],
However, this seems to be stopping calls getting through to api/crons.js
, for example.
And any modification to the builds object, breaks the builds with the same error you get.
Hey all, I'm trying to get an initial deployment working for an SSR Nuxt/Vue app through Vercel and running into the following issue.
Build Log:
package.json
vercel.json
Feel free to let me know if you need any more information to be helpful.