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.

    MMM-InternetMonitor

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    18 Posts 4 Posters 6.0k Views 4 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.
    • S Offline
      sdetweil @Richtw
      last edited by

      @Richtw can you show results of

      ls ~/MagicMirror/node_modules/.bin/electron-rebuild -laF
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        Richtw @sdetweil
        last edited by

        @sdetweil said in MMM-InternetMonitor:

        ls ~/MagicMirror/node_modules/.bin/electron-rebuild -laF

        thanks for the reply!

        richard@raspberrypi:~/MagicMirror $ ls ~/MagicMirror/node_modules/.bin/electron-rebuild -laF
        lrwxrwxrwx 1 richard richard 34 Jan 24 17:57 /home/richard/MagicMirror/node_modules/.bin/electron-rebuild -> ../electron-rebuild/lib/src/cli.js
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Richtw
          last edited by

          @Richtw weird.

          edit the buildit script we wrote and add

          -b
          

          at end of the last line, w a space before it. see if we can find where it is have permissions error

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            Richtw @sdetweil
            last edited by

            @sdetweil Here’s the script I’m running

            !/bin/bash
            
            if [ ! -f ../../node_modules/.bin/electron-rebuild ]; then
                    cd ../..
                    npm install electron-rebuild >/dev/null 2>&1
                    cd -
            fi
            ../../node_modules/.bin/electron-rebuild -b
            

            Here’s the result

            richard@raspberrypi:~/MagicMirror/modules/internet-monitor $ sudo ./buildit
            ./buildit: line 8: ../../node_modules/.bin/electron-rebuild: Permission denied
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Richtw
              last edited by

              @Richtw sorry. I do not understand the problem jetey, and cannot reproduce it on my own

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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