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

Fu.. OFF... What happned? Unexpected Token



  • After 7 Day i works fine. Today i have a Problem, but i have nothing NOTHING configured or else.
    What odes it means? I have no time to reconfigured the system every weeks again and again!

     pm2 restart mm
    /usr/lib/node_modules/pm2/node_modules/supports-color/index.js:1
    (function (exports, require, module, __filename, __dirname) { );return d?(d.path=c,f(d)):c}function h(a,d){""===a&&(a=".");""===d&&(d=".");var c=b(d),n=b(a);n&&(a=n.path||"/");if(c&&!c.scheme)return n&&(c.scheme=n.scheme),f(c);if(c||d.match(z))return d;if(n&&!n.host&&!n.path)return n.host=d,f(n);c="/"===d.charAt(0)?d:k(a.replace(/\/+$/,"")+"/"+d);return n?(n.path=c,f(n)):c}function d(a){return a}
                                                                  ^
    
    SyntaxError: Unexpected token )
        at new Script (vm.js:51:7)
        at NativeCompileCache._moduleCompile (/usr/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:226:18)
        at Module._compile (/usr/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:172:36)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
        at Module.load (internal/modules/cjs/loader.js:566:32)
        at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
        at Function.Module._load (internal/modules/cjs/loader.js:498:3)
        at Module.require (internal/modules/cjs/loader.js:598:17)
        at require (/usr/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
        at Object. (/usr/lib/node_modules/pm2/node_modules/chalk/index.js:4:21)
    
    

  • Module Developer

    That ) in the second doesn’t look like something proper.
    When did this happen?
    What modules do you have installed?



  • That’s the crazy one. I have not installed or configured any modules for over a week. Yesterday morning the screen was black. After a reboot, MM did not work anymore.


Log in to reply