MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

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

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 2 Posters 1.6k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bjoern
      last edited by bjoern

      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.<anonymous> (/usr/lib/node_modules/pm2/node_modules/chalk/index.js:4:21)
      
      
      1 Reply Last reply Reply Quote 0
      • C Offline
        Charley Module Developer
        last edited by

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

        MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

        1 Reply Last reply Reply Quote 0
        • B Offline
          bjoern
          last edited by

          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.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy