Closed nilsnh closed 2 years ago
Problem:
Node.js LTS 14 will stop getting security updates next year. So, we should move to the next LTS release. See: https://nodejs.org/en/about/releases/
Steps to fix:
netlify.toml
NODE_VERSION = "14.18.0"
NODE_VERSION = "lts/*"
AWS_LAMBDA_JS_RUNTIME = "nodejs14.x"
Problem:
Node.js LTS 14 will stop getting security updates next year. So, we should move to the next LTS release. See: https://nodejs.org/en/about/releases/
Steps to fix:
netlify.toml
fromNODE_VERSION = "14.18.0"
toNODE_VERSION = "lts/*"
which would make NVM grab latest LTS release. See: https://docs.netlify.com/configure-builds/manage-dependencies/#node-js-and-javascriptAWS_LAMBDA_JS_RUNTIME = "nodejs14.x"
which would make Netlify functions just use the latest LTS release.