While working on React Native Project, I faced some strange error that a particular package called fsevents can’t be installed on Linux. Here is the Screenshot of that.
For a while, I’m confused and what to do. I planned to ignore the package and I thought it may solve the issue.
rm -rf node_modules package-lock.json yarn.lock
yarn install --no-optional
Viola !! As I expected this is an Optional Package and it got excluded from the installation.