Problem with fs.js



I’m currently working on a discord bot hosted on glitch, but since two weeks when I try to modify my code there is always a problem on the file fs.js, even if i just add a if statement:


return, buffer, offset, length, position);


Error: EIO: i/o error, read

at Object.fs.readSync (fs.js:697:18)

at tryReadSync (fs.js:561:20)

at Object.fs.readFileSync (fs.js:596:19)

at Object.Module._extensions..js (module.js:659:20)

at Module.load (module.js:561:32)

at tryModuleLoad (module.js:501:12)

at Function.Module._load (module.js:493:3)

at Module.require (module.js:593:17)

at require (internal/module.js:11:18)

at Object.<anonymous> (/app/node_modules/ws/index.js:3:19)

Does anyone knows what’s the problem and how can i solve it ?
Thanks !


I just realized that a similar topic exists on the forum. Here’s the link: “Error: EIO: i/o error, read”