Bugsounet Coding

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

    Solved [To inspect] Error GA v3.1.0

    Issues
    2
    7
    117
    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.
    • D
      DJB1966 Helpers last edited by bugsounet

      @bugsounet
      try twice still getting error

      Installing all npm libraries…

      @bugsounet/secure-ga-v3@1.0.6 preinstall /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/secure-ga-v3
      ./testing_version.sh && node secure.js

      NPM Version testing:
      Require: >= 6.14.15 < 7.0.0
      Current: 6.14.15 ✓

      NODE Version testing:
      Require: v12.0.0
      Current: v13.14.0 ✓

      Passed: perfect!

      [SECURE] Check MMM-GoogleAssistant digital footprint…
      [SECURE] Ok, Good choice!
      [SECURE] Let’s continue installing…

      @bugsounet/cvlc@1.0.5 postinstall /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/cvlc
      installer/postinstall.sh

      Install YouTube lua…
      –2021-10-04 08:29:22-- https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua
      Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 185.199.110.133, 185.199.109.133, 185.199.108.133, …
      Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443… connected.
      HTTP request sent, awaiting response… 200 OK
      Length: 26215 (26K) [text/plain]
      Saving to: ‘youtube.lua’

      youtube.lua 100%[=====================================================================================================================================================================================================>] 25.60K --.-KB/s in 0.008s

      2021-10-04 08:29:23 (3.33 MB/s) - ‘youtube.lua’ saved [26215/26215]

      @bugsounet/cvlc is now installed !

      @bugsounet/cvlcmusicplayer@1.0.8 postinstall /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/cvlcmusicplayer
      electron-rebuild

      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.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2021-10-03T21_29_24_543Z-debug.log
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! MMM-GoogleAssistant@3.1.0 update: installer/update.sh
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the MMM-GoogleAssistant@3.1.0 update script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2021-10-03T21_29_24_630Z-debug.log

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

        i have update to 3.1.0 (Rebuild) but in testing could not get Spotify to work from the mirror. I can log on to Spotify PC play songs then pick Magic mirror as a device and it plays i then close Spotify on PC and can ask for diff songs but if i give command STOP then ask for song on Spotify i get below error.

        [04.10.2021 15:10.07.437] [LOG]   [DETECTOR] Stops listening.
        [04.10.2021 15:10.17.001] [LOG]   [DETECTOR] Starts listening. 4 Models
        [04.10.2021 15:10.21.272] [LOG]   [SPOTIFY:PLAY] Error 400 Error: Request failed with status code 404
            at createError (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/spotify/node_modules/axios/lib/core/createError.js:16:15)
            at settle (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/spotify/node_modules/axios/lib/core/settle.js:17:12)
            at IncomingMessage.handleStreamEnd (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/spotify/node_modules/axios/lib/adapters/http.js:293:11)
            at IncomingMessage.emit (events.js:327:22)
            at endReadableNT (internal/streams/readable.js:1327:12)
            at processTicksAndRejections (internal/process/task_queues.js:80:21) {```
        1 Reply Last reply Reply Quote 0
        • bugsounet
          bugsounet Main Coder last edited by

          Spotify : Solved with last rev (211005-1) ans last Spotify library (v1.0.4)

          tomorrow, i will see what happen with node v13 … maybe simply not supported !? (I have not tested it)

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

            Getting error still with new GA update try downgrading npm and node no luck error (pi-hole disabled)lol.
            cb60e3b5-a5a5-49aa-93d5-e026b8c4cc41-image.png

            @bugsounet/cvlc is now installed !
            
            > @bugsounet/cvlcmusicplayer@1.0.8 postinstall /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/cvlcmusicplayer
            > electron-rebuild
            
            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.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/pi/.npm/_logs/2021-10-06T06_08_00_851Z-debug.log
            npm ERR! code ELIFECYCLE
            npm ERR! errno 1
            npm ERR! MMM-GoogleAssistant@3.1.0 update: `installer/update.sh`
            npm ERR! Exit status 1
            npm ERR! 
            npm ERR! Failed at the MMM-GoogleAssistant@3.1.0 update script.
            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/pi/.npm/_logs/2021-10-06T06_08_00_941Z-debug.log
            

            and

            cd ~/MagicMirror/modules/MMM-GoogleAssistant
            git checkout master && git pull && npm install
            

            gives

            [SECURE] Check MMM-GoogleAssistant digital footprint...
            [SECURE] Ok, Good choice!
            [SECURE] Let's continue installing...
            
            > @bugsounet/cvlcmusicplayer@1.0.8 postinstall /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/cvlcmusicplayer
            > electron-rebuild
            
            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.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/pi/.npm/_logs/2021-10-06T06_12_37_522Z-debug.log
            
            1 Reply Last reply Reply Quote 0
            • D
              DJB1966 Helpers last edited by

              Ok after the rebuild install it worked but in testing it shows no internet content if I ask “Javis who is Obi-Wan Kenobi” the screen turns black and I can,t give the stop command.

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

                sh: 1: electron-rebuild: not found
                Maybe rpm run rebuild can help?

                For Black screen for links:
                Electron options set?

                I will see tomorrow

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

                  Ok, all good whenever you find the time. I’m trying to find a fix to a problem with a drone App I use @ work so no rush.

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