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-GoogleDriveSlideShow npm-install shows no progress

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 794 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.
    • E Offline
      emrah_asl
      last edited by emrah_asl

      Hello , I would like to user this module, https://github.com/clegallic/MMM-GoogleDriveSlideShow

      It was fine for git clone operation, after that I tried to jump second step for “npm install” but it’s waiting 20 minutes, no progress.

      The screen was just like that :

      PS C:\Users\Emrah Aslan\D...\modules\MMM-GoogleDriveSlideShow> npm install
      [ .................] \ fetchMetadata: sill pacote range manifest for debug@4 fetched in 106ms
      

      BTW I created credential.json file and put under secret folder.

      I believe without that , I couldn’t run

      cd ~/MagicMirror/modules/MMM-GooglePhotos
      node generate_token.js

      PS C:\modules\MMM-GoogleDriveSlideShow> node generate-auth-token.js
      internal/modules/cjs/loader.js:968
        throw err;
        ^
      
      Error: Cannot find module 'googleapis'
      Require stack:
      - C:\modules\MMM-GoogleDriveSlideShow\generate-auth-token.js
      ?[90m    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)?[39m
      ?[90m    at Function.Module._load (internal/modules/cjs/loader.js:841:27)?[39m
      ?[90m    at Module.require (internal/modules/cjs/loader.js:1025:19)?[39m
      ?[90m    at require (internal/modules/cjs/helpers.js:72:18)?[39m
          at Object.<anonymous> (C:\Users\Emrah Aslan\Desktop\arneca\SmartWall\smartwall\modules\MMM-GoogleDriveSlideShow\generate-auth-token.js:3:18)
      ?[90m    at Module._compile (internal/modules/cjs/loader.js:1137:30)?[39m
      ?[90m    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)?[39m
      ?[90m    at Module.load (internal/modules/cjs/loader.js:985:32)?[39m
      ?[90m    at Function.Module._load (internal/modules/cjs/loader.js:878:14)?[39m
      ?[90m    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)?[39m {
        code: ?[32m'MODULE_NOT_FOUND'?[39m,
        requireStack: [
          ?[32m'C:\\Users\\Emrah Aslan\\Desktop\\arneca\\SmartWall\\smartwall\\modules\\MMM-GoogleDriveSlideShow\\generate-auth-token.js'?[39m
        ]
      }
      

      Guys, Please help me on this.

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

        @emrah_asl did u do the npm install in the module folder like the install instructions say?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil sorry, missed problem above
          in the module folder erase package-lock.json if it exists and remove the node_modules folder, and then try npm install again

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • E Offline
            emrah_asl
            last edited by

            Hi @sdetweil I erased packahe-lock.jon file. Afterwards I typed npm-install still locked.

            PS C:\....\modules\MMM-GooglePhotos> npm install
            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
            npm WARN deprecated har-validator@5.1.5: this library is no longer supported
            [ .................] \ fetchMetadata: sill pacote range manifest for p-limit@^2.0.0 fetched in 217ms
            

            Waiting here.

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

              @emrah_asl note I had a typo, package-lock.json

              no idea why the delay

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • E Offline
                emrah_asl
                last edited by

                I’m working with yarn instead of npm I will let you know result

                1 Reply Last reply Reply Quote 0
                • E Offline
                  emrah_asl
                  last edited by

                  I am not sure why it is not work, but it works with yarn install

                  thanks for your help

                  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 Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy