Svelte 'Sapper' build not recognizing JS optional chaining operators in Netlify

Hey!

Yep, the node version (and other dependency versions) need parity :slight_smile:

You can set the NODE_ENV in one of 3 different locations. We have a guide on this too!

The easiest location is the environment variables section of the UI:

  • Site settings > Build & deploy > Environment > Environment variables

Where you’ll set NODE_VERSION to 15.11