openhab-cloud icon indicating copy to clipboard operation
openhab-cloud copied to clipboard

unexpected string at json position

Open dastrix80 opened this issue 5 years ago • 0 comments

Hi All

There is an error somewhere that relates to config.json. When you copy either production or development and change ONLY the domain, this is thrown:

0|Netsecur | SyntaxError: /var/www/openhab-cloud/config.json: Unexpected string in JSON at position 1355 0|Netsecur | at JSON.parse () 0|Netsecur | at Object.Module._extensions..json (module.js:672:27) 0|Netsecur | at Module.load (module.js:566:32) 0|Netsecur | at tryModuleLoad (module.js:506:12) 0|Netsecur | at Function.Module._load (module.js:498:3) 0|Netsecur | at Module.require (module.js:597:17) 0|Netsecur | at require (internal/module.js:11:18) 0|Netsecur | at Object. (/var/www/openhab-cloud/logger.js:11:25) 0|Netsecur | at Module._compile (module.js:653:30) 0|Netsecur | at Object.Module._extensions..js (module.js:664:10)

dastrix80 avatar Feb 28 '19 23:02 dastrix80