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.

    Blank Black Screen - noob

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 3.4k Views 3 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.
    • strawberry 3.141S Offline
      strawberry 3.141 Project Sponsor Module Developer @dslucki
      last edited by

      @dslucki your config looks good, I guess one of these functions uses es6 features which the midori browser doesnt support. You can open the developer console on your browser and see the errors

      Please create a github issue if you need help, so I can keep track

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dslucki @strawberry 3.141
        last edited by

        @strawberry-3.141 OK, that was a good tip. So here is a screen shot of the inspect in Midori. It is all Greek to me. Anyone have any ideas? 0_1491408290031_upload-4c3ac6bd-72a8-4893-95fd-4582671f22bc

        strawberry 3.141S 1 Reply Last reply Reply Quote 0
        • strawberry 3.141S Offline
          strawberry 3.141 Project Sponsor Module Developer @dslucki
          last edited by

          @dslucki you forgot to do npm install in MagicMirror directory

          Please create a github issue if you need help, so I can keep track

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            dslucki @strawberry 3.141
            last edited by dslucki

            @strawberry-3.141 I thought I did that. I ran it again and here is the output

            pi@raspberrypi:~/MagicMirror $ npm install
            npm ERR! Linux 4.4.50+
            npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
            npm ERR! node v4.2.1
            npm ERR! npm  v2.14.7
            npm ERR! path /home/pi/MagicMirror/node_modules/.bin/stylelint
            npm ERR! code EACCES
            npm ERR! errno -13
            npm ERR! syscall unlink
            
            npm ERR! Error: EACCES: permission denied, unlink '/home/pi/MagicMirror/node_modules/.bin/stylelint'
            npm ERR!     at Error (native)
            npm ERR!  { [Error: EACCES: permission denied, unlink '/home/pi/MagicMirror/node_modules/.bin/stylelint']
            npm ERR!   errno: -13,
            npm ERR!   code: 'EACCES',
            npm ERR!   syscall: 'unlink',
            npm ERR!   path: '/home/pi/MagicMirror/node_modules/.bin/stylelint' }
            npm ERR! 
            npm ERR! Please try running this command again as root/Administrator.
            
            npm ERR! Please include the following file with any support request:
            npm ERR!     /home/pi/MagicMirror/npm-debug.log
            
            

            Then I ran it as: sudo npm install

            pi@raspberrypi:~/MagicMirror $ sudo npm install
            npm WARN cannot run in wd magicmirror@2.1.1 cd vendor && npm install (wd=/home/pi/MagicMirror)
            npm WARN cannot run in wd magicmirror@2.1.1 sh installers/postinstall/postinstall.sh (wd=/home/pi/MagicMirror)
            
            
            
            strawberry 3.141S 1 Reply Last reply Reply Quote 0
            • strawberry 3.141S Offline
              strawberry 3.141 Project Sponsor Module Developer @dslucki
              last edited by

              @dslucki you dont have the permission to access, you probably did sudo npm install before and so your normal pi user has restricted access to it.

              try npm install --unsafe-perm

              Please create a github issue if you need help, so I can keep track

              D 1 Reply Last reply Reply Quote 1
              • D Offline
                dslucki @strawberry 3.141
                last edited by

                @strawberry-3.141 SUCCESS! Thanks.

                pi@raspberrypi:~/MagicMirror $ sudo npm install --unsafe-perm
                -
                > magicmirror@2.1.1 install /home/pi/MagicMirror
                > cd vendor && npm install
                
                npm WARN package.json magicmirror-vendors@ No README data
                font-awesome@4.7.0 node_modules/font-awesome
                
                moment-timezone@0.5.13 node_modules/moment-timezone
                
                weathericons@2.1.0 node_modules/weathericons
                
                moment@2.18.1 node_modules/moment
                
                > magicmirror@2.1.1 postinstall /home/pi/MagicMirror
                > sh installers/postinstall/postinstall.sh
                
                MagicMirror installation successful!
                pi@raspberrypi:~/MagicMirror $ 
                
                
                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