Node.js version 12 reached its official end of life on April 30th 2022. We already stopped the support inside our CLI on September 27th.
Now it is time to say goodbye to Node.js version 12 inside our build plugins. This change will allow us to use Node.js’s new features inside our codebase and apply important security fixes.
What are the impacts of this change?
If you run your build with Node.js version 12.xlocal plugins and plugins installed in a site’s package.json will automatically start using our system Node.js version (16.x at time of writing) instead of Node.js 12.
Running the build itself with Node.js version 12.x is still supported.
If you run your build with Node.js version 14.x or above nothing will change - your plugins will continue to be executed with the version they use now.
When do we roll out this change?
We will no longer support Node.js 12 for Build Plugins starting on December 5th, 2022.
If you have any questions, please let us know in this thread.
I have project in node 10.22.0 & Next 11 with SSR & SSG. I did added env var for NODE & NPM version but getting error for next runtime package build.
Warning: @netlify/plugin-nextjs will be executed with Node.js version 16.18.1
11:10:26 AM: The plugin cannot be executed with your defined Node.js version 10.22.0