To fix the ‘Not compatible with your operating system or architecture: fsevents@1.0.11’ error on Node on Mac, we skip installing optional dependencies.
To do this, we run
npm install --no-optional
to run npm install
with the --no-optional
flag to skip installing optional dependencies.