I am currently getting the error:
notsup Unsupported platform for fsevents@2.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
Which causes the build to fail. How do I get netlify to skip this package when building?
I am currently getting the error:
notsup Unsupported platform for fsevents@2.1.3: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
Which causes the build to fail. How do I get netlify to skip this package when building?
I solved this by moving fsevents into the devDependencies
section and made sure that my NODE_ENV was production (as it is development by default)