Reputation: 4170
I'm getting this error when running npm install --save-dev gulp-coffee
ENOENT: No such file or directory
I have a package.json file in my root directory though
Didn't have any issues yesterday installing node modules but today I can't install dependencies
Upvotes: 0
Views: 2102
Reputation: 4170
nothing seemed to work from other similar problems on stackoverflow, I ended up just deleting my repo. Then:
git clone [my github url repo]
cd [folder with node dependencies]
npm install
(installs node packages based on root package.json file)gulp watch
, modified files being watched to see if gulp was working as intended. check to see files being changed as intended via git diffWorked fine for me, it doesn't solve the original problem. Not sure why my package.json files were missing or why I could not repopulate them with a npm init
Upvotes: 1