While working on React Native Project, I faced some strange error that 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.
So, I quickly opened the Terminal of Project folder and run these commands.
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.
Thanks for your Feeback. It will helps us to improve our Article quality