After $npm install, Getting Error: Cannot find module '../lib/utils/unsupported.js'
问题 I just came back to work on a React project after working in the Rails environment and found that I cannot run any NPM commands in my Mac terminal. I've tried all the remedies that I have come across but none have worked. The bigger issue is what caused this and how can I avoid it again. Here is the error. What do I need to do? Please help. $npm install internal/modules/cjs/loader.js:550 throw err; ^ Error: Cannot find module '../lib/utils/unsupported.js' at Function.Module._resolveFilename