You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the sample config of the readme xud fails to start because of this error:
(node:27008) UnhandledPromiseRejectionWarning: Error: Parsing error on line 3, column 12: Expected "'", "'''", "+", "-", "[", "\"", "\"\"\"", "_", "false", "true", "{", [ \t] or [0-9] but "n" found.
at Config.<anonymous> (/home/michael/Git/JavaScript/xud/dist/lib/Config.js:88:27)
at Generator.next (<anonymous>)
at /home/michael/Git/JavaScript/xud/dist/lib/Config.js:7:71
at new Promise (<anonymous>)
at __awaiter (/home/michael/Git/JavaScript/xud/dist/lib/Config.js:3:12)
at Config.load (/home/michael/Git/JavaScript/xud/dist/lib/Config.js:76:16)
at Xud.<anonymous> (/home/michael/Git/JavaScript/xud/dist/lib/Xud.js:42:31)
at Generator.next (<anonymous>)
at /home/michael/Git/JavaScript/xud/dist/lib/Xud.js:7:71
at new Promise (<anonymous>)
at __awaiter (/home/michael/Git/JavaScript/xud/dist/lib/Xud.js:3:12)
at Xud.start (/home/michael/Git/JavaScript/xud/dist/lib/Xud.js:41:16)
at Object.<anonymous> (/home/michael/Git/JavaScript/xud/bin/xud:95:5)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
(node:27008) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:27008) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
It is working fine when password = null is replaced with password = "". Could some add this to a pr? Creating a new one for a single line is kinda overkill.
I am using Ubuntu 18.04, MariaDB 10.1.29 and Node 8.11.2.
The text was updated successfully, but these errors were encountered:
It looks like this is really more of an issue with the documentation than the code. TOML doesn't play nice with null. Removing the password line from your config file should work perfectly fine, as should setting it to an empty string. I'll just update our readme directly, keeping the password line there but using "" instead of null to make it clear that it is an available config option.
When using the sample config of the readme xud fails to start because of this error:
My config:
It is working fine when
password = null
is replaced withpassword = ""
. Could some add this to a pr? Creating a new one for a single line is kinda overkill.I am using Ubuntu 18.04, MariaDB 10.1.29 and Node 8.11.2.
The text was updated successfully, but these errors were encountered: