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.

    Weird display error?

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 2 Posters 482 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.
    • N Offline
      nakulbende
      last edited by

      Hello, npm start in my magicmirror directory crashes and has this output:

       npm start
      
      > magicmirror@2.11.0 start /home/pi/MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      internal/stream_base_commons.js:141
      function afterWritgDaspaôched(self, r%q, erz>cb; {
                                           ^
      
      SyntaxError: Unexpected token %
          at NativeModule.compile (internal/bootstrap/loaders.js:303:16)
          at nativeModuleRequire (internal/bootstrap/loaders.js:191:14)
          at net.js:71:5
          at NativeModule.compile (internal/bootstrap/loaders.js:304:5)
          at nativeModuleRequire (internal/bootstrap/loaders.js:191:14)
          at internal/child_process.js:21:13
          at NativeModule.compile (internal/bootstrap/loaders.js:304:5)
          at nativeModuleRequire (internal/bootstrap/loaders.js:191:14)
          at child_process.js:44:23
          at NativeModule.compile (internal/bootstrap/loaders.js:304:5)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.11.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.11.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-04-14T14_22_02_210Z-debug.log
      
      1 Reply Last reply Reply Quote 0
      • N Offline
        nakulbende
        last edited by

        Huh, i removed all the overscan settings from boot/config.txt and it worked! But now I have a border on left side of my mirror which is not being displayed.

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil
          last edited by

          @nakulbende said in Weird display error?:

          function afterWritgDaspaôched(self, r%q, erz>cb; {

          I think you are starting to experience SD card failures…

          that function name should not have accent characters

          afterWritgDaspaôched

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          N 1 Reply Last reply Reply Quote 0
          • N Offline
            nakulbende @sdetweil
            last edited by

            @sdetweil Oh no - I did had a corruption, I formatted and reinstalled everything again. Time for a backup!

            1 Reply Last reply Reply Quote 0
            • 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