MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

2.13 back screen translation file error fix



  • looks like we have surfaced an old problem. some modules provide translations in json files, but have comments /* */, or //
    which are not allowed.

    edit the files and remove the comment(s)

    you would see this error in the developers window

    0.0.0.0/:4 Uncaught SyntaxError: Unexpected token / in JSON at position 44
        at JSON.parse ()
        at XMLHttpRequest.xhr.onreadystatechange
    

    to open the developers window, ctrl-shift-i on the mm keyboard, select the tab labeled ‘console’ and scroll up or down to see that errors



  • a fix has been provided and is now available via the developers branch

    to get there

    if you did manual install

    cd ~/MagicMirror
    git checkout develop
    git pull
    

    restart MagicMirror as normal

    if you used my install script

    cd ~/MagicMirror
    git fetch origin develop:develop
    git checkout develop
    

    restart MagicMirror as normal


Log in to reply