nuxt / vercel-builder

Vercel Builder for Nuxt
MIT License
646 stars 75 forks source link

Does not support Node v18? #807

Closed YusakuArima closed 1 year ago

YusakuArima commented 1 year ago

Hi,

As described this issue, vercel build fails with node v18.

I tried to change the setting of Node.js version on the Vercel page, but it is overridden by v14.

I'd like to know if Node v18 will be supported because v14 and v16 will be deprecated in August 2023. https://vercel.com/changelog/node-js-14-and-16-are-being-deprecated

Build Log:

16:22:03.411 | Error: Found invalid Node.js Version: "18.x". Please set "engines": { "node": "14.x" } in your `package.json` file to use Node.js 14.
16:22:03.411 | Learn More: http://vercel.link/node-version
16:22:03.640 | BUILD_UTILS_NODE_VERSION_INVALID: Found invalid Node.js Version: "18.x". Please set "engines": { "node": "14.x" } in your `package.json` file to use Node.js 14.

Thanks in advance.

YusakuArima commented 1 year ago

My bad. It does not seem to be a vercel builder issue.

I updated Nuxt to v2.16.2 and the error no longer occurs. https://github.com/nuxt/nuxt/issues/10844#issuecomment-1472289589