Categories
JavaScript Answers

How to fix ENOENT, no such file or directory with Node npm?

Spread the love

To fix ENOENT, no such file or directory with Node npm, we clear the npm cache.

To do this, we

  1. Run npm install
  2. Run npm cache clean to clear the npm cache
  3. Run npm install -g npm, then npm install

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *