What could cause an error related to npm not being able to find a file? No contents in my node_modules subfolder. Why is that?

The following steps work for me:

  1. npm cache clean -f
  2. rm -rf node_modules
  3. npm i

Leave a Comment