I don’t think we’ll “mention” the npm flags we use; that environment variable should be right but ONLY in case it’s US automatically running npm install (so your build command is npm run build or something rather than explicitly containing npm install) If your build command is instead something cd src && npm install then you should put the flags in there: cd src && npm --no-optional install
My first question, though, would be “Are you sure fsevents isn’t listed as required?”