-
-
Notifications
You must be signed in to change notification settings - Fork 200
Description
Node 10 is EOL and Node 12 is reaching EOL at the end of April: https://nodejs.org/en/about/releases/
As many packages are now requiring node 12+ (and many of them will require node 14+ after April), I think it makes sense for Encore to bump its min node version in order to be able to use maintained versions of the tools.
With the node 12 EOL being almost there, I suggest bumping to 14+ directly.
Note: due to the way node compatibility is working in the npm ecosystem (it is not taken into account to choose the version of the dependency being installed, but reported after the fact), dropping support for some node versions requires a new major version.
Regarding the distributions, the dev version of Ubuntu 22.04 is still shipping node 12 for now (which will reach EOL around the date of the Ubuntu 22.04 release, which looks like a bad idea from the Ubuntu maintainers). Looking at the packaging repo, it seems like debian/experimental is upgrading to node 16, so maybe this will still change before the 22.04 LTS.
In any case, the node project is providing its own packaging through deb.nodesource.com which has uptodate packages