I Kept Getting Same Error On My Node.js (Named feedback.js)

{
“version”: 2,
“functions”: {
“api/**/.js": {
“runtime”: “vercel/node@22.x”
}
},
“headers”: [
{
“source”: "/raw/(.
)”,
“headers”: [
{ “key”: “Content-Type”, “value”: “text/plain; charset=utf-8” },
{ “key”: “Content-Disposition”, “value”: “inline” }
]
}
],
“rewrites”: [
{ “source”: “/raw/(.*)”, “destination”: “/raw/$1” },
{ “source”: “/scripts”, “destination”: “/scripts.html” },
{ “source”: “/executors”, “destination”: “/executors.html” },
{ “source”: “/soon”, “destination”: “/soon.html” },
]
}

i can’t fix it with vercel.json, can someone help me with it? the error is Function Runtimes must have a valid version, for example now-php@1.0.0

nevermind I fixed it (i don’t need help right now)

Can you share your solution here for the next person to run into this issue?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.