Fix fsevents doesn’t install on linux

By  MC.Naveen in November 12, 2021

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.

fsevents error

So, I quickly opened the Terminal of Project folder and run these commands.

rm -rf node_modules package-lock.json yarn.lock

Then run.

yarn install --no-optional

installed fsevents

Viola !! As I expected this is an Optional Package and it got excluded from the installation.



Hi There, Thank you so much for visiting my blog. I'm 23 year old kiddo who hates coffee but loves to code for computer. Here, In this blog you can find articles related to web and mobile development.

🐦 Follow me on Twitter — ⚛️ Codes on GitHub — 💬 Connect on Telegram