Error loading settings file: /home/pi/.node-red/settings.js? Ok, I am not seeing why it is not being read.
This file seems fine to me, what am I missing? If I let NR create the settings file, it works. But if I customize as is below, it fails?
module.exports = {
uiPort: process.env.PORT || 1880,
//uiHost: "127.0.0.1",
mqttReconnectTime: 15000,
serialReconnectTime: 15000,
debugMaxLength: 1000,
//nodeMessageBufferMaxLength: 0,
debugUseColors: true,
flowFile: "flows.json",
flowFilePretty: true,
credentialSecret: "Node Red Secret Key D@chshund Digital@1",
userDir: "/home/pi/.node-red/",
nodesDir: "/home/pi/.node-red/nodes",
ui: { path: "ui" },
functionGlobalContext: {
os:require("os"),
i2c:require("i2c-bus"),
gradient:require("javascript-color-gradient")
},
exportGlobalContextKeys: false,
contextStorage: {
default: {
module:"memory"
},
persistent: {
module:"localfilesystem"
},
},
logging: {
console: {
level: "info",
metrics: false,
audit: false
}
},
editorTheme: {
projects: {
enabled: false
}
}
}