Yarn, node-gyp rebuild compile error, node_modules/fsevents: Command failed

I just ran into something similar. deleting node_modules and removing yarn.lock fixed the problem for me.

sudo rm -r node_modules && rm yarn.lock && yarn install

Not sure if it was getting caught up on some conflicts.

Leave a Comment