Bugsounet Coding

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    auth_and_thest.js MODULE_NOT_FOUND

    Issues
    2
    8
    146
    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.
    • ?
      A Former User last edited by A Former User

      65806474-999b-4059-b0af-ee7786919058-image.png

      There is no auth_and_test.js file in my Raspberry Pi MMM-GoogleAssistant folder.
      where can i get it?
      I want to stop reinstalling…

      Please reply as soon as possible.
      Thx.

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        Hi, MMM-GoogleAssistant is now in v3.x with major change.
        I think, you use old method for installing. (This command is used for v2.x)

        Eventually, can you read wiki and retry with new method ?

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User last edited by A Former User

          At first, I installed Magic Mirror from the Magic Mirror website, but the same error popped up.
          After that I followed the wiki at https://github.com/bugsounet/MMM-GoogleAssistant/wiki/Installation.
          And I tried updating to v3, but it’s still the same.

          Sorry to bother you, can you help me a little more?

          1 Reply Last reply Reply Quote 0
          • bugsounet
            bugsounet Main Coder last edited by bugsounet

            maybe this can help

            note:

            • in v3, auth_and_test.js script don’t exist
            • just follow wiki step
            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @bugsounet last edited by A Former User

              @bugsounet I think I did it right.
              Therefore, I will try to reinstall it at the link.
              I plan to attach the command I entered, so could you let me know if I accessed it by mistake?

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User last edited by A Former User

                sudo apt-get update
                sudo apt-get upgrade
                
                curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
                sudo apt install -y nodejs
                git clone https://github.com/MichMich/MagicMirror
                
                cd MagicMirror/
                npm install
                cp config/config.js.sample config/config.js
                npm run start
                npm run server
                
                cd ~/MagicMirror/modules
                git clone https://github.com/CFenner/MMM-AirQuality
                
                cd ~/MagicMirror/modules
                git clone https://github.com/bugsounet/MMM-GoogleAssistant
                cd MMM-GoogleAssistant
                npm install
                
                cd ~/MagicMirror/modules/MMM-GoogleAssistant
                npm run rebuild
                
                node auth_and_test.js
                

                There is still an error similar to the first photo I uploaded.
                I did nothing except modify the config file in the middle.
                It’s a project I really want to try. Please show me the way ;(

                1 Reply Last reply Reply Quote 0
                • bugsounet
                  bugsounet Main Coder last edited by bugsounet

                  where do you see node auth_and_test.js in wiki ?

                  why using npm run rebuild ?

                  I repeat AGAIN

                  in v3, auth_and_test.js script don’t exist

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User last edited by

                    OMG, I was looking for auth_and_test.js file when I was looking for the previous sentence. (I updated it just in case.)
                    You’re right! Just looking at the wiki and imitating it. I’m glad!
                    Oh, I really looked like a fool. thank you very much 😄

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB | @bugsounet ©2022