Error message “ENOENT, no such file or directory”

I believe the previous answer is the correct answer to this problem but I was getting this error when I tried installing npm package (see below):

Enter image description here

The fix for me was: npm init --yes

Enter image description here

Leave a Comment