Bugsounet Coding

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

    Solved request node_modules spotify

    Issues
    2
    4
    72
    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.
    • kelly97129
      kelly97129 Donators last edited by

      bonjour,
      après la dernière mise à jour de MMM-googleassistant j’ai ce message d’erreur et un black screen après 2 min

      0|MagicMirror  | [09.10.2021 21:03.33.628] [ERROR]
      0|MagicMirror  | (node:1698) UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property 'request' of 'response' as it is undefined.
      0|MagicMirror  |     at /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/spotify/index.js:171:19
      0|MagicMirror  |     at processTicksAndRejections (internal/process/task_queues.js:93:5)
      0|MagicMirror  | (Use `electron --trace-warnings ...` to show where the warning was created)
      0|MagicMirror  | [09.10.2021 21:03.33.629] [ERROR] (node:1698) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
      0|MagicMirror  | [09.10.2021 21:03.33.630] [ERROR] (node:1698) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      
      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        coucou Kelly,

        je ne pense pas que soit lier a un black screen (il tourne de maniere protégé)

        par contre oui, je suis d’accord avec toi, j’ai oublier une partie du code dans le cas ou … la connexion internet est perdu… la response est nul et donc ne peux pas récupéré la valeur de request qui est a l’interieur de response
        wow … c’est compliqué :))))

        je vais regardé rapidement

        Cédric

        kelly97129 1 Reply Last reply Reply Quote 1
        • kelly97129
          kelly97129 Donators @bugsounet last edited by

          @bugsounet je te remercie j’attends

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

            corriger sur npm @bugsounet/spotify@1.0.5

            Encore merci pour m’avoir remonté le bug(sounet)

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