Unsupported platform for inotify@1.4.6 on Mac while npm install

Viewed 594

I'm trying to set up a project for react. however, while I run npm install, it throws this error:

npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for inotify@1.4.6: wanted {"os":"linux","arch":"any"} (current: {"os":"darwin","arch":"x64"})
npm ERR! notsup Valid OS:    linux
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   darwin
npm ERR! notsup Actual Arch: x64 

Apparently, It looks like this library is not supported on my mac. I hope some workaround can resolve this issue instead of removing this library. kindly suggest how can I resolve this issue.

1 Answers
Related