Make sure the path to your file is correct. A similar issue was opened recently and this answer helped them to resolve it: Discord.js FS Module Broken?
The path is correct and I already read that
But the issue isn’t being fixed how to change permission of the file and check that there is permission to write on file
From the console (under Advanced Options from the top-left Project Info menu in the editor) ‘ls -la’, which will list the files and their permissions to make sure you have write permission on that file and they haven’t been changed accidentally somehow. But the error ENOENT means that the path is invalid.