Settings.js corrupted

If you delete the settings file (or move it to a different name), then Node-RED will copy in the default settings file the next time you start.

Or you can grab it from here: https://raw.githubusercontent.com/node-red/node-red/master/packages/node_modules/node-red/settings.js