MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    Weird display error?

    Troubleshooting
    2
    4
    156
    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
      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
        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
          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

          Create a working config
          How to add modules

          N 1 Reply Last reply Reply Quote 0
          • N
            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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy