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

Weird display error?



  • 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
    


  • 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.



  • @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



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


Log in to reply