• 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.

MMM-ImagesPhotos issue

Scheduled Pinned Locked Moved Solved Troubleshooting
14 Posts 2 Posters 4.2k 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.
  • N Offline
    Nneuland @sdetweil
    last edited by Jun 13, 2023, 6:05 PM

    @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 Jun 13, 2023, 6:54 PM Reply Quote 0
    • S Offline
      sdetweil @Nneuland
      last edited by Jun 13, 2023, 6:54 PM

      @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 Jun 13, 2023, 7:41 PM Reply Quote 0
      • N Offline
        Nneuland @sdetweil
        last edited by Jun 13, 2023, 7:41 PM

        @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 Jun 13, 2023, 7:42 PM Reply Quote 0
        • S Offline
          sdetweil @Nneuland
          last edited by Jun 13, 2023, 7:42 PM

          @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 Jun 14, 2023, 12:50 AM Reply Quote 0
          • N Offline
            Nneuland @sdetweil
            last edited by Jun 14, 2023, 12:50 AM

            @sdetweil

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

            S 1 Reply Last reply Jun 14, 2023, 1:33 AM Reply Quote 0
            • S Offline
              sdetweil @Nneuland
              last edited by sdetweil Jun 14, 2023, 1:33 AM Jun 14, 2023, 1:33 AM

              @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 Jun 14, 2023, 1:04 PM Reply Quote 0
              • N Offline
                Nneuland @sdetweil
                last edited by Jun 14, 2023, 1:04 PM

                @sdetweil

                Thank you Sam!!

                S 1 Reply Last reply Jun 14, 2023, 2:16 PM Reply Quote 0
                • S Offline
                  sdetweil @Nneuland
                  last edited by Jun 14, 2023, 2:16 PM

                  @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 Jun 14, 2023, 6:55 PM Reply Quote 0
                  • N Offline
                    Nneuland @sdetweil
                    last edited by Jun 14, 2023, 6:55 PM

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

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      Nneuland @sdetweil
                      last edited by Jun 15, 2023, 9:56 PM

                      @sdetweil
                      After following your basic instructions I’m still having the issue.

                      To clarify, after adding the modules config information, the mirror wont start up… removing the config information and saving auto starts the mirror.

                      S 1 Reply Last reply Jun 15, 2023, 11:11 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        7/14
                        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