• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Display turned black after I installed MMM-DigClock

Scheduled Pinned Locked Moved Unsolved Troubleshooting
7 Posts 3 Posters 1.1k 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.
  • S Offline
    SirVer
    last edited by Dec 22, 2019, 12:49 PM

    I installed the MagicMirror recently and tried the MMM-BackgroundSlideshow. Everything worked perfectly. But then I wanted use the MMM-DigClock but then nothing worked. The display just turned black and I can see the mouse on the top left corner. I assume that it could not install correctly, because I got this after the installation of MMM-DigClock:

    pi@raspberrypi:~/MagicMirror/modules/MMM-DigClock $ npm install
    npm WARN deprecated undefined@0.1.0: this package has been deprecated
    npm WARN saveError ENOENT: no such file or directory, open '/home/pi/MagicMirror        /modules/package.json'
    npm notice created a lockfile as package-lock.json. You should commit this file.
    npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/mo        dules/package.json'
    npm WARN modules No description
    npm WARN modules No repository field.
    npm WARN modules No README data
    npm WARN modules No license field.
    
    removed 1 package in 1.439s
    found 0 vulnerabilities
    

    How can I solve this problem?

    S 1 Reply Last reply Dec 22, 2019, 12:54 PM Reply Quote 0
    • S Away
      sdetweil @SirVer
      last edited by Dec 22, 2019, 12:54 PM

      @SirVer do this

      cd ~/MagicMirror
      git checkout modules/node_modules/node_help/index.js
      

      this was because MMM-DigClock does not have a package.json file, and u should not have done npm install for it

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Dec 22, 2019, 12:57 PM Reply Quote 0
      • S Offline
        SirVer @sdetweil
        last edited by Dec 22, 2019, 12:57 PM

        @sdetweil Thanks for the answer but I get this:

        pi@raspberrypi:~/MagicMirror $ git checkout modules/node_modules/node_help/index.js
        error: pathspec 'modules/node_modules/node_help/index.js' did not match any file(s) known to git
        
        S 1 Reply Last reply Dec 22, 2019, 1:30 PM Reply Quote 0
        • S Away
          sdetweil @SirVer
          last edited by Dec 22, 2019, 1:30 PM

          @SirVer sorry, typo (left off the ‘er’ on node_helper)

          cd ~/MagicMirror
          git checkout modules/node_modules/node_helper/index.js
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Dec 23, 2019, 11:57 AM Reply Quote 1
          • S Offline
            SirVer @sdetweil
            last edited by Dec 23, 2019, 11:57 AM

            @sdetweil I have a question: I thought git checkout is just changing the branch. So what is the command here git checkout … doing in index.js ?

            S 1 Reply Last reply Dec 23, 2019, 12:42 PM Reply Quote 0
            • B Offline
              BKeyport Module Developer
              last edited by Dec 23, 2019, 12:27 PM

              it’s much more than that.

              https://git-scm.com/docs/git-checkout

              The "E" in "Javascript" stands for "Easy"

              1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @SirVer
                last edited by Dec 23, 2019, 12:42 PM

                @SirVer checkout can switch branches, it can also get a file from the local repository into your local working directory

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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