We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The trigger state node causes a exception when userDir is not specified in config.js
01/03/2018, 09:20:52 node: Door opened msg : string[48] "Could not find userDir to use for database store"
This exception is thrown in base-nod.js in function async getDb() at row 72
let dbLocation = this.RED.settings.get('userDir');
A better way to read this property is let dbLocation = this.RED.settings.userDir;
let dbLocation = this.RED.settings.userDir;
See node-red/node-red#1543
The text was updated successfully, but these errors were encountered:
Huge thanks for a great package. Its fantastic.
Sorry, something went wrong.
Thanks, and nice find. I made the change and will be in the next release.
#45 - Fix for getting RED.settings.userDir
9880a93
No branches or pull requests
The trigger state node causes a exception when userDir is not specified in config.js
01/03/2018, 09:20:52 node: Door opened
msg : string[48]
"Could not find userDir to use for database store"
This exception is thrown in base-nod.js in function async getDb() at row 72
let dbLocation = this.RED.settings.get('userDir');
A better way to read this property is
let dbLocation = this.RED.settings.userDir;
See node-red/node-red#1543
The text was updated successfully, but these errors were encountered: