npm install resulting in ‘ENOENT: no such file or directory’

As already pointed out by Subburaj this is because you are missing a package.json.
Just run npm init to initialize that file for you; afterwards it should work.

Leave a Comment