The first issue was, the npm install for my project suddenly stopped working. In the past, I have used the same project across multiple computers (mac included) but this was never an issue.
The solution was quite easy though. If found sooner 😉
1
2
3
4 rm -rf package-lock.json
rm -rf node_modules
npm install
That’s it. That did it. Before that I was lost in errors with no clue. Following were the errors that I was getting.
Error 1: fibers@4.0.1
Error 2: node-gyp error
Error 3: “Make Failed with Exit Code 2” Error
Note: I had to then later use node 16 (nvm use 16) In order to make the npm run watch-poll work but yes, it’s all working now. This was because node not supporting something old in their latest version. No real threat.