MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED MMM-MoonPhase

    Troubleshooting
    4
    7
    231
    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.
    • A
      Anthony Project Sponsor last edited by

      Hello to all forum. Recently my rasberry’s SD card crashed and I Installed everything from scratch. I have only one problem with MMM-MoonPhse which cannot be installed. I had this one in my previous MM and was working fine. Does anyone know if something happened? Below is the errors I am getting during installation. I am not a programmer so I would be grateful if somebody spot something wrong on my side.

      Cloning into 'MMM-MoonPhase'...
      remote: Enumerating objects: 214, done.
      remote: Counting objects: 100% (42/42), done.
      remote: Compressing objects: 100% (33/33), done.
      remote: Total 214 (delta 15), reused 18 (delta 9), pack-reused 172
      Receiving objects: 100% (214/214), 1.07 MiB | 2.76 MiB/s, done.
      Resolving deltas: 100% (85/85), done.
      npm ERR! code ERESOLVE
      npm ERR! ERESOLVE could not resolve
      npm ERR! 
      npm ERR! While resolving: MMM-MoonPhase@1.0.1
      npm ERR! Found: stylelint@14.16.1
      npm ERR! node_modules/stylelint
      npm ERR!   peer stylelint@"14.x" from grunt-stylelint@0.18.0
      npm ERR!   node_modules/grunt-stylelint
      npm ERR!     dev grunt-stylelint@"latest" from the root project
      npm ERR! 
      npm ERR! Could not resolve dependency:
      npm ERR! dev stylelint-config-standard@"latest" from the root project
      npm ERR! 
      npm ERR! Conflicting peer dependency: stylelint@15.2.0
      npm ERR! node_modules/stylelint
      npm ERR!   peer stylelint@"^15.0.0" from stylelint-config-standard@30.0.1
      npm ERR!   node_modules/stylelint-config-standard
      npm ERR!     dev stylelint-config-standard@"latest" from the root project
      npm ERR! 
      npm ERR! Fix the upstream dependency conflict, or retry
      npm ERR! this command with --force, or --legacy-peer-deps
      npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
      npm ERR! 
      npm ERR! See /home/anthony/.npm/eresolve-report.txt for a full report.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/anthony/.npm/_logs/2023-03-15T16_21_25_597Z-debug-0.log
      
      

      Thank you in advance.

      swvalenti KristjanESPERANTO 2 Replies Last reply Reply Quote 0
      • swvalenti
        swvalenti Project Sponsor @Anthony last edited by swvalenti

        @Anthony not sure if this is related but I see you are cloning into moon phase. That folder shouldn’t exist yet and should be cloning into modules folder instead. I can’t see your commands before that to make sure that’s what you’ve done.

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

          @swvalenti git tells u the new folder name where the files will be

          Sam

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • KristjanESPERANTO
            KristjanESPERANTO @Anthony last edited by KristjanESPERANTO

            @Anthony Contrary to the instructions, you do not need to run npm install for this module. This would only install packages for development, these are not necessary for you to use the module.

            A 1 Reply Last reply Reply Quote 0
            • A
              Anthony Project Sponsor @KristjanESPERANTO last edited by

              @KristjanESPERANTO , @sdetweil , @swvalenti Thank you for your replies. As I remember I run npm install at the first time and I had no problems. I will try it without this command as well but I do not think this is the problem.

              swvalenti 1 Reply Last reply Reply Quote 0
              • swvalenti
                swvalenti Project Sponsor @Anthony last edited by

                Just tried it on mine no issues and no npm install

                A 1 Reply Last reply Reply Quote 1
                • A
                  Anthony Project Sponsor @swvalenti last edited by

                  @swvalenti you were right. it worked just fine without npm command. Thank you.

                  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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy