Using Node 14.x Doesn't Work

If you’re using optional chaining in Netlify Functions, the runtime is not the same as what you specify in Node build settings. You need to specify AWS Runtime like mentioned here: Build functions | Netlify Docs

1 Like