i’m now create blog by hexo on netlify.
a hexo plugin uses fsevents and occured build error
10:21:34 AM: ERR! notsup Unsupported platform for fsevents@2.1.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})
so i want to do on the container 'npm install --no-optional.
so i set Environment variables ‘NPM_FLAGS / --no-optional’
but at log say below,
10:21:31 AM: Installing NPM modules using NPM version 6.13.4
10:21:34 AM: npm
10:21:34 AM: ERR! code EBADPLATFORM
10:21:34 AM: npm
how to set flags to npm?