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

node generate_token_v2 error

Scheduled Pinned Locked Moved Solved Troubleshooting
16 Posts 5 Posters 1.9k Views 5 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.
  • C Offline
    Crimson0087
    last edited by Jun 10, 2024, 10:49 AM

    Hello,

    I am a computer coding novice…as in I do not know what ANY of this means and am just following tutorials. I am currently at the step on my raspberry pi where I have added the credentials.json to the MMM-GooglePhotos file and have typed

    node generate_token_v2.js

    This is the error I get

    (node:4639) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
    (Use node --trace-deprecation ... to show where the warning was created)

    can anyone tell me what I am doing wrong?

    S A 2 Replies Last reply Jun 10, 2024, 11:13 AM Reply Quote 0
    • A Offline
      atagg00g @Crimson0087
      last edited by Jun 17, 2024, 11:34 AM

      @Crimson0087 I had a similar issue after mine decided to break the API connection after a week. I have posted on the repo issue pages what I was able to do to fix your exact problem. Go figure you were attempting at the exact same time I was troubleshooting it. https://github.com/hermanho/MMM-GooglePhotos/issues/191

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Crimson0087
        last edited by Jun 10, 2024, 11:13 AM

        @Crimson0087 nothing you can do anything about.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        C 1 Reply Last reply Jun 10, 2024, 12:29 PM Reply Quote 0
        • C Offline
          Crimson0087 @sdetweil
          last edited by Jun 10, 2024, 12:29 PM

          @sdetweil

          Does that mean I cannot use the Google photos with magic mirror?

          S 1 Reply Last reply Jun 10, 2024, 12:51 PM Reply Quote 0
          • S Offline
            sdetweil @Crimson0087
            last edited by Jun 10, 2024, 12:51 PM

            @Crimson0087 no, just ignore that message

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Jun 10, 2024, 3:33 PM Reply Quote 0
            • C Offline
              Crimson0087 @sdetweil
              last edited by Jun 10, 2024, 3:33 PM

              @sdetweil

              That’s a hard stop…it doesn’t perform the action. According to tutorial when I type node generate_tokenv2 it should open a new window for me to log in to Google account and that doesn’t happen… nothing happens

              S 1 Reply Last reply Jun 10, 2024, 3:37 PM Reply Quote 0
              • S Offline
                sdetweil @Crimson0087
                last edited by Jun 10, 2024, 3:37 PM

                @Crimson0087 you ARE doing this ON the system console of the MagicMirror system, right… not over ssh or (maybe vnc, don’t use)

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                C 1 Reply Last reply Jun 10, 2024, 3:38 PM Reply Quote 0
                • C Offline
                  Crimson0087 @sdetweil
                  last edited by Jun 10, 2024, 3:38 PM

                  @sdetweil yes

                  S 1 Reply Last reply Jun 10, 2024, 3:46 PM Reply Quote 0
                  • S Offline
                    sdetweil @Crimson0087
                    last edited by Jun 10, 2024, 3:46 PM

                    @Crimson0087 and you did put the downloaded creendtial json file in this folder with the name ‘credentials.json’

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    C 1 Reply Last reply Jun 10, 2024, 4:04 PM Reply Quote 0
                    • C Offline
                      Crimson0087 @sdetweil
                      last edited by Jun 10, 2024, 4:04 PM

                      @sdetweil

                      Yes I did.

                      S 1 Reply Last reply Jun 10, 2024, 4:13 PM Reply Quote 0
                      • S Offline
                        sdetweil @Crimson0087
                        last edited by Jun 10, 2024, 4:13 PM

                        @Crimson0087 ok, that has exhausted my experience here

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        B 1 Reply Last reply Jun 10, 2024, 10:29 PM 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