Addressing Performance Issues on Old Versions of Node
Recently I’ve noticed Node gobbling a considerable amount of CPU on my macbook. After some experimentation I found the reason to be the old version of Node that I was using (6.9.2).
I used nvm
to switch my default node version to a later version and then installed fsevents globally:
npm i fsevents@latest -g
Haven’t had any node-related performance issues since. Be mindful though that if you don’t set your nvm default node version you could end up switching back to the old node version you had without realizing and then you’ll begin to have performance issues again.