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.

    GooglePhotos

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 651 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.
    • P Offline
      pat59
      last edited by

      good evening
      after the execution of node generate_token . here is the error message thank you for your help.
      [GPHOTOS:CORE] TypeError: Cannot read property ‘0’ of undefined
      /home/patrick/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:133
      throw e
      ^

      TypeError: Cannot read property ‘0’ of undefined
      at new Auth (/home/patrick/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:35:91)
      at GPhotos.onAuthReady (/home/patrick/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:130:14)
      at GPhotos.generateToken (/home/patrick/MagicMirror/modules/MMM-GooglePhotos/GPhotos.js:141:10)
      at Object. (/home/patrick/MagicMirror/modules/MMM-GooglePhotos/generate_token.js:10:9)
      at Module._compile (internal/modules/cjs/loader.js:999:30)
      at Object.Module._extensions…js (internal/modules/cjs/loader.js:1027:10)
      at Module.load (internal/modules/cjs/loader.js:863:32)
      at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
      at internal/main/run_main_module.js:17:47

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

        @pat59 I believe that means u picked the wrong app type in the credentials step.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil Hello thank you
          this supposes erasing everything and redoing the installation of the GooglePhotos module or this is due to the installation of the operating system cordially

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

            @pat59 no, it’s the Google developers console credentials setup. nothing changes on the pi, except the new downloaded credentials file

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            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