Categories
JavaScript Answers

How to fix the NPM “ENOENT: no such file or directory error” when installing Sails.js dependencies error with Node?

Spread the love

To fix the NPM "ENOENT: no such file or directory error" when installing Sails.js dependencies error with Node, we remove the package-lock.json file.

We remove the package-lock.json file and then re-run

npm install

to fix the error.

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 *