As Node.js 8 is out of the maintenance window we will be dropping support for it and require Node.js 10 in Netlify CLI.
This has the benefit of using new features available in Node.js 10, removing dependencies that won’t be required after the update and upgrading others to the latest version.
What to expect from this change
- It will be done behind a major version bump
enginesfield will be updated accordingly
- If you’re installing the latest version of the CLI in continuous integration (CI) that is running Node.js 8 (e.g. running
npm install -g netlify-cliinside a GitHub action), that CI job will probably error out (the nature of the error depends on the package manager you’re using and the settings passed to it). We recommend to either use a specific version range or update the CI Node.js version to Node.js 10 or greater.
- If you’re installing the CLI locally in a Node.js 8 environment you should get a relevant warning/error message saying the CLI is meant to be used on Node.js 10 or greater.
This change is planned for January 2021, we will update this thread when it is released.
If you’re already running Node.js 10 or greater no action is needed on your part
Related GitHub issue: https://github.com/netlify/cli/issues/1568