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.

    Positions not working

    Scheduled Pinned Locked Moved Troubleshooting
    22 Posts 6 Posters 3.1k Views 5 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.
    • J Offline
      Joshsamuel @Guest
      last edited by

      @hango No clue what I’m looking for here but this is what I can see Errors 1 Errors 2

      S 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by

        This post is deleted!
        J 1 Reply Last reply Reply Quote 0
        • J Offline
          Joshsamuel @Guest
          last edited by

          @hango The path is MagicMirror, the ‘r’ is at the start of the next line

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Guest
            last edited by

            @hango yep, sorry, missed it…

            you don’t open index.html with a browser… its the shell that MM uses to place module output

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Joshsamuel
              last edited by

              @Joshsamuel error file not found, looks like you didn’t follow some install instructions,

              there was a step

              npm install
              

              looks like something happened to the node_modules folder where the libraries are saved

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User
                last edited by A Former User

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • J Offline
                  Joshsamuel @sdetweil
                  last edited by

                  @sdetweil I ran npm install in the MM directory, it then said new patch version of npm available (6.14.4 > 6.14.5). I then tried to install this using

                  npm install -g npm
                  

                  Then got the following message with some errors:

                  pi@raspberrypi:~/MagicMirror $ npm install -g npm
                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/graceful-fs
                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/mkdirp
                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/nopt
                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/npm-registry-fetch
                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm
                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules
                  npm WARN checkPermissions Missing write access to /usr/lib/node_modules
                  npm ERR! code EACCES
                  npm ERR! syscall access
                  npm ERR! path /usr/lib/node_modules/npm/node_modules/graceful-fs
                  npm ERR! errno -13
                  npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/graceful-fs'
                  npm ERR!  { [Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/graceful-fs']
                  npm ERR!   stack:
                  npm ERR!    'Error: EACCES: permission denied, access \'/usr/lib/node_modules/npm/node_modules/graceful-fs\'',
                  npm ERR!   errno: -13,
                  npm ERR!   code: 'EACCES',
                  npm ERR!   syscall: 'access',
                  npm ERR!   path: '/usr/lib/node_modules/npm/node_modules/graceful-fs' }
                  npm ERR! 
                  npm ERR! The operation was rejected by your operating system.
                  npm ERR! It is likely you do not have the permissions to access this file as the current user
                  npm ERR! 
                  npm ERR! If you believe this might be a permissions issue, please double-check the
                  npm ERR! permissions of the file and its containing directories, or try running
                  npm ERR! the command again as root/Administrator.
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /home/pi/.npm/_logs/2020-06-22T17_34_29_233Z-debug.log
                  pi@raspberrypi:~/MagicMirror $ 
                  
                  
                  S lavolp3L 2 Replies Last reply Reply Quote 0
                  • S Offline
                    sdetweil @Joshsamuel
                    last edited by

                    @Joshsamuel yeh, don’t do that…
                    to recover do

                    cd ~/MagicMirror
                    npm install
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      Joshsamuel @sdetweil
                      last edited by

                      @sdetweil Just did that, still haven’t got position working

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @Joshsamuel
                        last edited by

                        @Joshsamuel did u examine the error in index.html as suggested>

                        what does the log look like, both the console log (or pm2 logs --lines=100)
                        and the developer window console?

                        you have broken code, so nothing will be working right

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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