You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: The Serverless Function "." has invalid runtime: "nodejs18.x". Learn More: https://github.com/vercel/vercel/blob/main/DEVELOPING_A_RUNTIME.md#lambdaruntime
The text was updated successfully, but these errors were encountered:
This might be due to your build being built with nodejs18 instead of nodejs16, which is the latest version Vercel supports. You can verify this by inspecting your build folder at .vercel/output/builds.json and checking the version of node pointed to in argv.
These are the steps I took to fix this:
Force uninstall nodejs18 from my system (brew uninstall node --forced)
Use nvm to select my current node version.
Running where node only shows one path (the path to .nvm)
I get this error
The text was updated successfully, but these errors were encountered: