You can specify the version of node that your stuff works on
You can also use the "engines" field to specify which versions of npm are capable of properly installing your program. For example:
Please also use appropriates workflows like you can find in our templates repository since they use the engines block to properly setup node and npm
Engines expose the minimum version we support. As a dev, you are free to use newer releases, but testing and releases must be done against those versions.
Warnings might be thrown in the console, but they will not impact the process.
We recommend devs to use NVM to quickly switch between versions
Schedule
Changelog
30-06-2022 - First draft of this issue. Moving from Node14 to Node 16 exceptionally because node 14 ships npm6 by default
15-01-2024 - Updated all nodes versions to 20 and npm to 10
Following https://github.com/nextcloud/standards/issues/1
Which version of node and/or npm should I support in my app or library
At Nextcloud, we support security-maintained LTS versions of Node and Npm. You can check the schedule in https://endoflife.date/nodejs
package.json
as we have scripts to update them once a version become unmaintained.Schedule
Changelog