fs.js:675
return binding.read(fd, buffer, offset, length, position);
^
Error: EIO: i/o error, read
at Object.fs.readSync (fs.js:675:18)
at tryReadSync (fs.js:540:20)
at Object.fs.readFileSync (fs.js:575:19)
at Object.Module._extensions..js (module.js:662:20)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/app/node_modules/google-auth-library/node_modules/request/request.js:11:12)
It is not happening in any of my other projects and I have no idea what is causing it. I have reported this same error before, but it resolved itself last time. Should I see if it does the same this time?
Command console, if I tried to edit the package.json it’d say that the modules that I modified didn’t exist for some reason. npm i refetches the files afaik so
update: apparently should use npm install instead
This thread is the top google result for the topic, so I’m including a link to the most complete solution: [HOWTO] Fix: EIO: i/o error, read
h/t to Mellon, etamponi, and the Glitch team.