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-ImagesPhotos issue

    Scheduled Pinned Locked Moved Solved Troubleshooting
    14 Posts 2 Posters 4.4k Views 2 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 @Nneuland
      last edited by

      @Nneuland see https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      N 1 Reply Last reply Reply Quote 0
      • N Offline
        Nneuland @sdetweil
        last edited by

        @sdetweil

        This might be over my head…

        pi@raspberrypi:~/MagicMirror/modules/MMM-ImagesPhotos $ npm install
        npm ERR! code ERESOLVE
        npm ERR! ERESOLVE could not resolve
        npm ERR!
        npm ERR! While resolving: magicmirror-images-photos@0.1.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.7.0
        npm ERR! node_modules/stylelint
        npm ERR! peer stylelint@“^15.5.0” from stylelint-config-standard@33.0.0
        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/pi/.npm/eresolve-report.txt for a full report.

        npm ERR! A complete log of this run can be found in:
        npm ERR! /home/pi/.npm/_logs/2023-06-13T18_03_53_057Z-debug-0.log

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

          @Nneuland ok, fun stuff…

          the module is so old that the development dependencies no longer exist…

          so

          edit the package.json

          and change this

            "devDependencies": {
          

          to this.

            "devDependencies1": {
          

          the rerun npm install

          another stupid thing, npm gives you the option to NOT install the dev stuff. --omit=dev, BUT it still checks them and fails if they don’t work…

          so, we have to force them to not exist…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          N 1 Reply Last reply Reply Quote 0
          • N Offline
            Nneuland @sdetweil
            last edited by

            @sdetweil
            thanks Sam. after adjusting the devDependencies in package.json then running npm install seemed to correct the install.

            I have auto start mirror enabled when making adjustments to config file. However after adding the config info for this module, the mirror wont start. maybe too old of a module…any suggestions on a better image viewer module?

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

              @Nneuland did u fix the missing library problem??? which is why MM doesn’t start???

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              N 1 Reply Last reply Reply Quote 0
              • N Offline
                Nneuland @sdetweil
                last edited by

                @sdetweil

                i have not yet. I’ll need to research how to do that properly…

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

                  @Nneuland see the link I posted on what to do. no research needed
                  https://forum.magicmirror.builders/topic/17845/mmm-imagesphotos-issue/2?_=1686706297079

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  N 1 Reply Last reply Reply Quote 0
                  • N Offline
                    Nneuland @sdetweil
                    last edited by

                    @sdetweil

                    Thank you Sam!!

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

                      @Nneuland are you back up and running?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      N 2 Replies Last reply Reply Quote 0
                      • N Offline
                        Nneuland @sdetweil
                        last edited by

                        @sdetweil
                        I’m gonna give it a go later tonight

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