Trying to run a Nodejs app to test Raspberry 3 B + Gpio Onoff Module but when i am trying to run the app getting this Error
fs.js:114
throw err;
Error: EBUSY: r
I know this is barley advice since its so obvious but I spent over an hour on this then restarted my computer, problem fixed!
just a reminder the most obvious solutions are sometimes the right solutions.
All the other solutions posted about this problem didnt work for me. Maybe because my problem was a log file was being locked which prevented me from using npm at all. The log file didn't even show up in the directory it was supposed to be in.