[Resolved] Error my code is not working


#1

i am hosting a discord bot and i get this


3:14 PM

return binding.read(fd, buffer, offset, length, position);

3:14 PM

^

3:14 PM

3:14 PM

Error: EIO: i/o error, read

3:14 PM

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

3:14 PM

at tryReadSync (fs.js:542:20)

3:14 PM

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

3:14 PM

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

3:14 PM

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

3:14 PM

at tryModuleLoad (module.js:470:12)

3:14 PM

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

3:14 PM

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

3:14 PM

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

3:14 PM

at Object.<anonymous> (/app/node_modules/xmlbuilder/lib/XMLDocument.js:11:20)

3:14 PM

at Object.<anonymous> (/app/node_modules/xmlbuilder/lib/XMLDocument.js:48:4)

3:14 PM

at Module._compile (module.js:573:30)

3:14 PM

at Object.Module._extensions..js (module.js:584:10)

3:14 PM

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

3:14 PM

at tryModuleLoad (module.js:470:12)

3:14 PM

at Function.Module._load (module.js:462:3)```