Hello all, I am trying to install Openhab cloud.
Here is my server details:
Ubuntu 14.04 32bit
Node.js 0.10.48
I followed the installation steps. Then I changed the file name “config-development.json” to “config.json”. In MongoDB I created database openhab.
Then I started node app.js and got the following error. What is the expected token?
2016-12-26T12:28:53.226Z - info: openHAB-cloud: Backend service is starting up…
2016-12-26T12:28:53.235Z - info: openHAB-cloud: Backend logging initialized…
2016-12-26T12:28:53.241Z - error: uncaughtException: /home/openhab-cloud/config.json: Unexpected token : date=Mon Dec 26 2016 07:28:53 GMT-0500 (EST), pid=18976, uid=0, gid=0, cwd=/home/openhab-cloud, execPath=/root/.nvm/v0.10.48/bin/node, version=v0.10.48, argv=[node, /home/openhab-cloud/app.js], rss=11317248, heapTotal=7130752, heapUsed=2348772, loadavg=[0, 0, 0], uptime=4596296.396334909, trace=[column=null, file=null, function=Object.parse, line=null, method=parse, native=true, column=27, file=module.js, function=Object.Module._extensions…json, line=482, method=Module._extensions…json, native=false, column=32, file=module.js, function=Module.load, line=356, method=load, native=false, column=12, file=module.js, function=Function.Module._load, line=312, method=Module._load, native=false, column=17, file=module.js, function=Module.require, line=364, method=require, native=false, column=17, file=module.js, function=require, line=380, method=null, native=false, column=14, file=/home/openhab-cloud/app.js, function=, line=35, method=null, native=false, column=26, file=module.js, function=Module._compile, line=456, method=_compile, native=false, column=10, file=module.js, function=Object.Module._extensions…js, line=474, method=Module._extensions…js, native=false, column=32, file=module.js, function=Module.load, line=356, method=load, native=false], stack=[SyntaxError: /home/openhab-cloud/config.json: Unexpected token :, at Object.parse (native), at Object.Module._extensions…json (module.js:482:27), at Module.load (module.js:356:32), at Function.Module._load (module.js:312:12), at Module.require (module.js:364:17), at require (module.js:380:17), at Object. (/home/openhab-cloud/app.js:35:14), at Module._compile (module.js:456:26), at Object.Module._extensions…js (module.js:474:10), at Module.load (module.js:356:32)]
2016-12-26T12:28:53.243Z - error: