This error can be caused by pasting wrong data, for example, letters in fields where should be only numbers, or a blank space in an api key field, or other errors like those.
For fix that error, take a config.js file from those in the backups\config folder, from a date and time when the bot has been running correctly and paste it in the main folder of the bot and rename it to replace your current config.js