Bugsounet Coding

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

    Solved GoogleAssistant failed to load after update

    Issues
    2
    4
    138
    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.
    • J
      Johanba last edited by

      Morning All
      After yesterdays update my MMM-Google Assistant failed to work
      I have about 1 month experience with MagicMirror, so new and learning fast
      Looking at the logs I got the following error
      How do I fix this
      My logic says I must downgrade the NPM version, but the previous Google assistant version worked with it

      1321 timing build:queue Completed in 12ms
      1322 info run @bugsounet/secure-ga-v3@1.0.6 preinstall node_modules/@bugsounet/secure-ga-v3 ./testing_version.sh && node secure.js
      1323 info run @bugsounet/secure-ga-v3@1.0.6 preinstall { code: 255, signal: null }
      1324 timing reify:rollback:createSparse Completed in 511ms
      1325 timing reify:rollback:retireShallow Completed in 23ms
      1326 timing command:install Completed in 54548ms
      1327 verbose stack Error: command failed
      1327 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
      1327 verbose stack at ChildProcess.emit (events.js:400:28)
      1327 verbose stack at maybeClose (internal/child_process.js:1058:16)
      1327 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
      1328 verbose pkgid @bugsounet/secure-ga-v3@1.0.6
      1329 verbose cwd /home/pi/MagicMirror/modules/MMM-GoogleAssistant
      1330 verbose Linux 5.10.63-v7l+
      1331 verbose argv “/usr/bin/node” “/usr/bin/npm” “install”
      1332 verbose node v14.18.0
      1333 verbose npm v7.24.1
      1334 error code 255
      1335 error path /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/secure-ga-v3
      1336 error command failed
      1337 error command sh -c ./testing_version.sh && node secure.js
      1338 error NPM Version testing:
      1338 error Require: >= 6.14.15 < 7.0.0
      1338 error Current: 7.24.1 𐄂
      1338 error Failed: incorrect version!
      1339 verbose exit 255

      1 Reply Last reply Reply Quote 0
      • D
        DJB1966 Helpers last edited by DJB1966

        Please let me know if you get errors I’m having errors doing normal updates please post errors here so Bugs cans see.
        Use

        cd
        sudo npm install -g npm@6.14.15
        
        cd ~/MagicMirror/modules/MMM-GoogleAssistant
        npm run update
        
        1 Reply Last reply Reply Quote 0
        • J
          Johanba last edited by

          Thanks
          Updated, but received a new eror now
          NPM Version testing:
          Require: >= 6.14.15 < 7.0.0
          Current: 6.14.15 ✓

          sh: 1: electron-rebuild: not found
          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})

          npm ERR! code ELIFECYCLE
          npm ERR! syscall spawn
          npm ERR! file sh
          npm ERR! errno ENOENT
          npm ERR! @bugsounet/cvlcmusicplayer@1.0.8 postinstall: electron-rebuild
          npm ERR! spawn ENOENT
          npm ERR!
          npm ERR! Failed at the @bugsounet/cvlcmusicplayer@1.0.8 postinstall script.
          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

          NODE Version testing:
          Require: v12.0.0
          Current: v14.18.0 ✓
          Passed: perfect!

          1 Reply Last reply Reply Quote 0
          • D
            DJB1966 Helpers last edited by

            ok do this

            cd MagicMirror/modules/MMM-GoogleAssistant
            npm run rebuild
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB | @bugsounet ©2022