I’m having an issue, my express application can’t write files, this only happens in another .js file I use as a ‘code library’ for commands for my discord bot, when it tries to writeFile in the code library (which uses module.exports = {} to make sure other scripts can use the functions), it pops up an error that I can’t figure out.
Example:
{ Error: EACCES: permission denied, open '../serverdata.json'
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '../serverdata.json' }
For any glitch staff, the project name is aegis if you want to check it out