error occurred
After updating the version of the library package being used, the following error message occurred during distribution.
Node.js version 16.x has reached End-of-Life. Deployments created on or after 2023-08-15 will fail to build. Please set Node.js Version to 18.x in your Project Settings to use Node.js 18.
cause of error
The reason for this error is that the Node.js version in the current distribution environment does not match the currently used Node Version or library packages.
error resolution
In my case, Vercel is using Node.js Version 16, but after changing Node.js Version to 18 in Vercel, the error was resolved. In the case of Vercel, you can change the node.js version at the bottom of the 'Gerneral' environment, but it has been changed to version 18.
How to change Vercel Node.js Version (official document)
https://vercel.com/changelog/node-js-version-now-customizable-in-the-project-settings


Comments
Post a Comment