Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    Solved EXT Detector not getting install nor rebuild getting error in snowboy library building

    EXT-Detector
    3
    15
    51
    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.
    • T
      talha.ahmii last edited by

      Hello I recently trying to install ext detector but during npm install it gives error i updated my raspberry pi but still getting same error.
      Logs are below

      talha@raspberrypi:~/MagicMirror/modules/EXT-Detector $ npm install

      EXT-Detector@1.0.1 preinstall
      installer/preinstall.sh

      Welcome to EXT-Detector “1.0.1”,

      Checking OS…
      OS Detected: linux-gnueabihf (raspbian 11 armv7l)

      Checking all dependencies…
      You must install missing dependencies before going further
      Missing package: libmagic-dev
      Missing package: libatlas-base-dev
      Missing package: sox
      Missing package: libsox-fmt-all
      Attempt to automatically install the above packages? [Y/n]
      Your choice: y
      Installing missing package…
      Hit:1 http://mirror.freedif.org/Raspbian/raspbian buster InRelease
      Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
      Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
      Reading package lists… Done
      Reading package lists… Done
      Building dependency tree… Done
      Reading state information… Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
      libmagic-dev : Depends: libmagic1 (= 1:5.35-4+deb10u2) but 1:5.39-3 is to be installed
      E: Unable to correct problems, you have held broken packages.
      All Dependencies needed are installed !

      Installing all npm libraries…

      EXT-Detector@1.0.1 postinstall
      installer/postinstall.sh

      MagicMirror Rebuild…
      ⠇ MagicMirror Building module: snowboy, Completed: 0gyp info find Python using Python version 3.9.2 found at “/usr/bin/python3”
      ⠏ MagicMirror Building module: snowboy, Completed: 0gyp info spawn /usr/bin/python3
      gyp info spawn args [
      gyp info spawn args ‘/home/talha/MagicMirror/modules/EXT-Detector/node_modules/node-gyp/gyp/gyp_main.py’,
      gyp info spawn args ‘binding.gyp’,
      gyp info spawn args ‘-f’,
      gyp info spawn args ‘make’,
      gyp info spawn args ‘-I’,
      gyp info spawn args ‘/home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/build/config.gypi’,
      gyp info spawn args ‘-I’,
      gyp info spawn args ‘/home/talha/MagicMirror/modules/EXT-Detector/node_modules/node-gyp/addon.gypi’,
      gyp info spawn args ‘-I’,
      gyp info spawn args ‘/home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/include/node/common.gypi’,
      gyp info spawn args ‘-Dlibrary=shared_library’,
      gyp info spawn args ‘-Dvisibility=default’,
      gyp info spawn args ‘-Dnode_root_dir=/home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0’,
      gyp info spawn args ‘-Dnode_gyp_dir=/home/talha/MagicMirror/modules/EXT-Detector/node_modules/node-gyp’,
      gyp info spawn args ‘-Dnode_lib_file=/home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/<(target_arch)/node.lib’,
      gyp info spawn args ‘-Dmodule_root_dir=/home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy’,
      gyp info spawn args ‘-Dnode_engine=v8’,
      gyp info spawn args ‘–depth=.’,
      gyp info spawn args ‘–no-parallel’,
      gyp info spawn args ‘–generator-output’,
      gyp info spawn args ‘build’,
      gyp info spawn args ‘-Goutput_dir=.’
      gyp info spawn args ]
      ⠹ MagicMirror Building module: snowboy, Completed: 0gyp info spawn make
      gyp info spawn args [ ‘BUILDTYPE=Release’, ‘-C’, ‘build’ ]
      make: Entering directory ‘/home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/build’
      CXX(target) Release/obj.target/snowboy/lib/snowboy.o
      ⠸ MagicMirror Building module: snowboy, Completed: 0<command-line>: warning: “_GLIBCXX_USE_CXX11_ABI” redefined
      <command-line>: note: this is the location of the previous definition
      ⠹ MagicMirror Building module: snowboy, Completed: 0In file included from /home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/include/node/v8-object.h:10,
      from /home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/include/node/v8-array-buffer.h:13,
      from /home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/include/node/v8.h:24,
      from /home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/include/node/node.h:79,
      from …/…/…/nan/nan.h:60,
      from …/lib/snowboy.cc:1:
      /home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/include/node/v8-persistent-handle.h:256:44: warning: ‘template<class T> struct v8::CopyablePersistentTraits’ is deprecated: Use v8::Global instead [-Wdeprecated-declarations]
      256 | using CopyablePersistent = Persistent<T, CopyablePersistentTraits<T>>;
      | ^~~~~~~~~~~~~~~~~~~~~~~~
      /home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/include/node/v8-persistent-handle.h:255:48: note: declared here
      255 | struct V8_DEPRECATED(“Use v8::Global instead”) CopyablePersistentTraits {
      | ^~~~~~~~~~~~~~~~~~~~~~~~
      ⠼ MagicMirror Building module: snowboy, Completed: 0In file included from …/lib/snowboy.cc:1:
      …/…/…/nan/nan.h:206:16: warning: ‘template<class T> struct v8::CopyablePersistentTraits’ is deprecated: Use v8::Global instead [-Wdeprecated-declarations]
      206 | public v8::CopyablePersistentTraits<T> {};
      | ^~~~~~~~~~~~~~~~~~~~~~~~
      In file included from /home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/include/node/v8-object.h:10,
      from /home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/include/node/v8-array-buffer.h:13,
      from /home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/include/node/v8.h:24,
      from /home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/include/node/node.h:79,
      from …/…/…/nan/nan.h:60,
      from …/lib/snowboy.cc:1:
      /home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/include/node/v8-persistent-handle.h:255:48: note: declared here
      255 | struct V8_DEPRECATED(“Use v8::Global instead”) CopyablePersistentTraits {
      | ^~~~~~~~~~~~~~~~~~~~~~~~
      ⠧ MagicMirror Building module: snowboy, Completed: 0In file included from …/…/…/nan/nan.h:60,
      from …/lib/snowboy.cc:1:
      /home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/include/node/node.h:874:7: warning: cast between incompatible function types from ‘void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void ()(v8::Localv8::Object)’} to ‘node::addon_register_func’ {aka ‘void ()(v8::Localv8::Object, v8::Localv8::Value, void)’} [-Wcast-function-type]
      874 | (node::addon_register_func) (regfunc),
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/22.0.0/include/node/node.h:908:3: note: in expansion of macro ‘NODE_MODULE_X’
      908 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
      | ^~~~~~~~~~~~~
      …/lib/snowboy.cc:183:1: note: in expansion of macro ‘NODE_MODULE’
      183 | NODE_MODULE(SnowboyDetect, SnowboyDetect::Init)
      | ^~~~~~~~~~~
      ⠼ MagicMirror Building module: snowboy, Completed: 0 SOLINK_MODULE(target) Release/obj.target/snowboy.node
      /usr/bin/ld: cannot find -lcblas
      ⠦ MagicMirror Building module: snowboy, Completed: 0collect2: error: ld returned 1 exit status
      make: *** [snowboy.target.mk:155: Release/obj.target/snowboy.node] Error 1
      make: Leaving directory ‘/home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/build’
      ✖ MagicMirror Rebuild Failed

      An unhandled error occurred inside electron-rebuild
      node-gyp failed to rebuild ‘/home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy’.
      Error: make failed with exit code: 2

      Error: node-gyp failed to rebuild ‘/home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy’.
      Error: make failed with exit code: 2

      at ModuleRebuilder.rebuildNodeGypModule (/home/talha/MagicMirror/modules/EXT-Detector/node_modules/magicmirror-rebuild/build/module-rebuilder.js:193:19)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async Rebuilder.rebuildModuleAt (/home/talha/MagicMirror/modules/EXT-Detector/node_modules/magicmirror-rebuild/build/rebuild.js:180:9)
      at async Rebuilder.rebuild (/home/talha/MagicMirror/modules/EXT-Detector/node_modules/magicmirror-rebuild/build/rebuild.js:143:17)
      at async /home/talha/MagicMirror/modules/EXT-Detector/node_modules/magicmirror-rebuild/build/cli.js:141:9
      

      Support is now moved in a dedicated Server: https://forum.bugsounet.fr
      @bugsounet

      EXT-Detector is now installed !

      up to date, audited 192 packages in 40s

      28 packages are looking for funding
      run npm fund for details

      found 0 vulnerabilities

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

        hi, corrected in v1.0.2

        T 1 Reply Last reply Reply Quote 0
        • T
          talha.ahmii @bugsounet last edited by

          @bugsounet hello and when v1.0.2 will be available for download and install? when you gonna publiah it , actually need to build mirror urgently. Thank you

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

            it’s already available… just update it

            command is: npm run update inside EXT-Detector directory

            T 1 Reply Last reply Reply Quote 0
            • T
              talha.ahmii @bugsounet last edited by

              @bugsounet okie am trying rn, thank you , will update here soon

              1 Reply Last reply Reply Quote 0
              • T
                talha.ahmii last edited by

                getting new error now, please help me resolve this logs are below:

                talha@raspberrypi:~/MagicMirror/modules/EXT-Detector $ npm run update

                EXT-Detector@1.0.1 update
                installer/update.sh

                Welcome to EXT-Detector updater !

                Updating…
                HEAD is now at 04a5704 Merge pull request #2 from bugsounet/dev
                hint: Pulling without specifying how to reconcile divergent branches is
                hint: discouraged. You can squelch this message by running one of the following
                hint: commands sometime before your next pull:
                hint:
                hint: git config pull.rebase false # merge (the default strategy)
                hint: git config pull.rebase true # rebase
                hint: git config pull.ff only # fast-forward only
                hint:
                hint: You can replace “git config” with “git config --global” to set a default
                hint: preference for all repositories. You can also pass --rebase, --no-rebase,
                hint: or --ff-only on the command line to override the configured default per
                hint: invocation.
                remote: Enumerating objects: 26, done.
                remote: Counting objects: 100% (26/26), done.
                remote: Compressing objects: 100% (9/9), done.
                remote: Total 20 (delta 13), reused 17 (delta 11), pack-reused 0
                Unpacking objects: 100% (20/20), 3.41 KiB | 83.00 KiB/s, done.
                From https://github.com/bugsounet/EXT-Detector
                04a5704…5415bce main -> origin/main
                b086e3c…49e528f dev -> origin/dev
                Updating 04a5704…5415bce
                Fast-forward
                installer/minify.js | 55 +++++++++++++++++++
                installer/postinstall.sh | 17 +++±-
                installer/preinstall.sh | 11 +±-
                installer/utils.sh | 134 +±--------------------------------------------
                package.json | 16 +++±-
                5 files changed, 88 insertions(+), 145 deletions(-)
                create mode 100644 installer/minify.js
                Updated 0 paths from the index
                Deleting ALL @bugsounet libraries…
                Ready for Installing…

                EXT-Detector@1.0.2 preinstall
                installer/preinstall.sh

                Welcome to EXT-Detector v1.0.2

                Checking OS…
                OS Detected: linux-gnueabihf (raspbian 11 armv7l)

                Checking all dependencies…
                You must install missing dependencies before going further
                Missing package: libmagic-dev
                Missing package: libatlas-base-dev
                Missing package: sox
                Missing package: libsox-fmt-all
                Attempt to automatically install the above packages? [Y/n]
                Your choice: y
                Installing missing package…
                Hit:1 http://mirror.freedif.org/Raspbian/raspbian buster InRelease
                Hit:2 https://deb.nodesource.com/node_16.x bullseye InRelease
                Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease
                Reading package lists… Done
                Reading package lists… Done
                Building dependency tree… Done
                Reading state information… Done
                Some packages could not be installed. This may mean that you have
                requested an impossible situation or if you are using the unstable
                distribution that some required packages have not yet been created
                or been moved out of Incoming.
                The following information may help to resolve the situation:

                The following packages have unmet dependencies:
                libmagic-dev : Depends: libmagic1 (= 1:5.35-4+deb10u2) but 1:5.39-3 is to be installed
                E: Unable to correct problems, you have held broken packages.

                Install Failed
                npm ERR! code 255
                npm ERR! path /home/talha/MagicMirror/modules/EXT-Detector
                npm ERR! command failed
                npm ERR! command sh -c – installer/preinstall.sh

                npm ERR! A complete log of this run can be found in:
                npm ERR! /home/talha/.npm/_logs/2023-02-18T17_35_11_197Z-debug-0.log

                1 Reply Last reply Reply Quote 0
                • T
                  talha.ahmii last edited by

                  libmagic dependancy version mismatch, how can i correct this?

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

                    Hit:1 http://mirror.freedif.org/Raspbian/raspbian buster InRelease
                    
                    E: Unable to correct problems, you have held broken packages.
                    

                    you try to use buster package inside bullseye…
                    It can’t works, so correct it 🙂

                    1 Reply Last reply Reply Quote 0
                    • T
                      talha.ahmii last edited by

                      actually sir raspbian.raspberrypi.org is not connecting on my side dont know ip block or something so i changed the link to mirror one in /etc/apt/sources.list, let me pull bak again to the normal one and try

                      1 Reply Last reply Reply Quote 0
                      • T
                        talha.ahmii last edited by

                        see am stucked badly 😞

                        talha@raspberrypi:~/MagicMirror/modules/EXT-Detector $ npm run update

                        EXT-Detector@1.0.2 update
                        installer/update.sh

                        Welcome to EXT-Detector updater !

                        Updating…
                        HEAD is now at 5415bce add minify code // review installer
                        hint: Pulling without specifying how to reconcile divergent branches is
                        hint: discouraged. You can squelch this message by running one of the following
                        hint: commands sometime before your next pull:
                        hint:
                        hint: git config pull.rebase false # merge (the default strategy)
                        hint: git config pull.rebase true # rebase
                        hint: git config pull.ff only # fast-forward only
                        hint:
                        hint: You can replace “git config” with “git config --global” to set a default
                        hint: preference for all repositories. You can also pass --rebase, --no-rebase,
                        hint: or --ff-only on the command line to override the configured default per
                        hint: invocation.
                        Already up to date.
                        Updated 0 paths from the index
                        Deleting ALL @bugsounet libraries…
                        Ready for Installing…

                        EXT-Detector@1.0.2 preinstall
                        installer/preinstall.sh

                        Welcome to EXT-Detector v1.0.2

                        Checking OS…
                        OS Detected: linux-gnueabihf (raspbian 11 armv7l)

                        Checking all dependencies…
                        You must install missing dependencies before going further
                        Missing package: libmagic-dev
                        Missing package: libatlas-base-dev
                        Missing package: sox
                        Missing package: libsox-fmt-all
                        Attempt to automatically install the above packages? [Y/n]
                        Your choice: y
                        Installing missing package…
                        Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                        Get:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
                        Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
                        Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease
                        Get:5 http://raspbian.raspberrypi.org/raspbian bullseye/contrib armhf Packages [60.2 kB]
                        Get:6 http://raspbian.raspberrypi.org/raspbian bullseye/non-free armhf Packages [106 kB]
                        Get:7 http://raspbian.raspberrypi.org/raspbian bullseye/rpi armhf Packages [1,360 B]
                        Fetched 13.4 MB in 6min 15s (35.8 kB/s)
                        Reading package lists… Done
                        Reading package lists… Done
                        Building dependency tree… Done
                        Reading state information… Done
                        The following additional packages will be installed:
                        libao-common libao4 libatlas3-base libopencore-amrnb0 libopencore-amrwb0 libsox-fmt-alsa libsox-fmt-ao libsox-fmt-base libsox-fmt-mp3 libsox-fmt-oss libsox-fmt-pulse libsox3
                        Suggested packages:
                        libaudio2 libsndio6.1 libatlas-doc liblapack-doc
                        The following NEW packages will be installed:
                        libao-common libao4 libatlas-base-dev libatlas3-base libmagic-dev libopencore-amrnb0 libopencore-amrwb0 libsox-fmt-all libsox-fmt-alsa libsox-fmt-ao libsox-fmt-base libsox-fmt-mp3 libsox-fmt-oss
                        libsox-fmt-pulse libsox3 sox
                        0 upgraded, 16 newly installed, 0 to remove and 43 not upgraded.
                        Need to get 6,094 kB of archives.
                        After this operation, 28.6 MB of additional disk space will be used.
                        Err:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libao-common all 1.2.2+20180113-1.1
                        Connection failed [IP: 103.195.68.3 80]
                        Err:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libao4 armhf 1.2.2+20180113-1.1
                        Connection failed [IP: 103.195.68.3 80]
                        Err:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libatlas3-base armhf 3.10.3-10+rpi1
                        Connection failed [IP: 103.195.68.3 80]
                        Err:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libatlas-base-dev armhf 3.10.3-10+rpi1
                        Connection failed [IP: 103.195.68.3 80]
                        Err:5 http://raspbian.mirror.net.in/raspbian/raspbian bullseye/main armhf libmagic-dev armhf 1:5.39-3
                        Connection failed [IP: 103.195.68.3 80]
                        Err:6 http://raspbian.mirror.net.in/raspbian/raspbian bullseye/main armhf libopencore-amrnb0 armhf 0.1.5-1
                        Connection failed [IP: 103.195.68.3 80]
                        Err:7 http://raspbian.mirror.net.in/raspbian/raspbian bullseye/main armhf libopencore-amrwb0 armhf 0.1.5-1
                        Connection failed [IP: 103.195.68.3 80]
                        Err:8 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libsox3 armhf 14.4.2+git20190427-2
                        Connection failed [IP: 103.195.68.3 80]
                        Err:9 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libsox-fmt-alsa armhf 14.4.2+git20190427-2
                        Connection failed [IP: 103.195.68.3 80]
                        Err:10 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libsox-fmt-ao armhf 14.4.2+git20190427-2
                        Connection failed [IP: 103.195.68.3 80]
                        Err:11 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libsox-fmt-base armhf 14.4.2+git20190427-2
                        Connection failed [IP: 103.195.68.3 80]
                        Err:12 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libsox-fmt-mp3 armhf 14.4.2+git20190427-2
                        Connection failed [IP: 103.195.68.3 80]
                        Err:13 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libsox-fmt-oss armhf 14.4.2+git20190427-2
                        Connection failed [IP: 103.195.68.3 80]
                        Err:14 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libsox-fmt-pulse armhf 14.4.2+git20190427-2
                        Connection failed [IP: 103.195.68.3 80]
                        Err:15 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libsox-fmt-all armhf 14.4.2+git20190427-2
                        Connection failed [IP: 103.195.68.3 80]
                        Err:16 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf sox armhf 14.4.2+git20190427-2
                        Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/liba/libao/libao-common_1.2.2+20180113-1.1_all.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/liba/libao/libao4_1.2.2+20180113-1.1_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/a/atlas/libatlas3-base_3.10.3-10+rpi1_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/a/atlas/libatlas-base-dev_3.10.3-10+rpi1_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/f/file/libmagic-dev_5.39-3_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/o/opencore-amr/libopencore-amrnb0_0.1.5-1_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/o/opencore-amr/libopencore-amrwb0_0.1.5-1_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/s/sox/libsox3_14.4.2+git20190427-2_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/s/sox/libsox-fmt-alsa_14.4.2+git20190427-2_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/s/sox/libsox-fmt-ao_14.4.2+git20190427-2_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/s/sox/libsox-fmt-base_14.4.2+git20190427-2_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/s/sox/libsox-fmt-mp3_14.4.2+git20190427-2_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/s/sox/libsox-fmt-oss_14.4.2+git20190427-2_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/s/sox/libsox-fmt-pulse_14.4.2+git20190427-2_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/s/sox/libsox-fmt-all_14.4.2+git20190427-2_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Failed to fetch http://raspbian.mirror.net.in/raspbian/raspbian/pool/main/s/sox/sox_14.4.2+git20190427-2_armhf.deb Connection failed [IP: 103.195.68.3 80]
                        E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

                        Install Failed
                        npm ERR! code 255
                        npm ERR! path /home/talha/MagicMirror/modules/EXT-Detector
                        npm ERR! command failed
                        npm ERR! command sh -c – installer/preinstall.sh

                        npm ERR! A complete log of this run can be found in:
                        npm ERR! /home/talha/.npm/_logs/2023-02-18T17_49_30_742Z-debug-0.log

                        1 Reply Last reply Reply Quote 0
                        • T
                          talha.ahmii last edited by

                          So am trying different mirror servers for updating and installing raspberry pi dependencies and this will work, ext detector is now installed.

                          talha@raspberrypi:~/MagicMirror/modules/EXT-Detector $ npm install

                          EXT-Detector@1.0.2 preinstall
                          installer/preinstall.sh

                          Welcome to EXT-Detector v1.0.2

                          Checking OS…
                          OS Detected: linux-gnueabihf (raspbian 11 armv7l)

                          Checking all dependencies…
                          You must install missing dependencies before going further
                          Missing package: libmagic-dev
                          Missing package: libatlas-base-dev
                          Missing package: sox
                          Missing package: libsox-fmt-all
                          Attempt to automatically install the above packages? [Y/n]
                          Your choice: y
                          Installing missing package…
                          Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                          Get:2 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye InRelease [15.0 kB]
                          Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
                          Get:4 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf Packages [13.2 MB]
                          Get:5 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/contrib armhf Packages [60.2 kB]
                          Get:6 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/non-free armhf Packages [106 kB]
                          Get:7 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/rpi armhf Packages [1,360 B]
                          Fetched 13.4 MB in 8min 26s (26.5 kB/s)
                          Reading package lists… Done
                          Reading package lists… Done
                          Building dependency tree… Done
                          Reading state information… Done
                          The following additional packages will be installed:
                          libao-common libao4 libatlas3-base libopencore-amrnb0 libopencore-amrwb0 libsox-fmt-alsa libsox-fmt-ao libsox-fmt-base libsox-fmt-mp3 libsox-fmt-oss libsox-fmt-pulse libsox3
                          Suggested packages:
                          libaudio2 libsndio6.1 libatlas-doc liblapack-doc
                          The following NEW packages will be installed:
                          libao-common libao4 libatlas-base-dev libatlas3-base libmagic-dev libopencore-amrnb0 libopencore-amrwb0 libsox-fmt-all libsox-fmt-alsa libsox-fmt-ao libsox-fmt-base libsox-fmt-mp3 libsox-fmt-oss
                          libsox-fmt-pulse libsox3 sox
                          0 upgraded, 16 newly installed, 0 to remove and 42 not upgraded.
                          Need to get 6,094 kB of archives.
                          After this operation, 28.6 MB of additional disk space will be used.
                          Get:1 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libao-common all 1.2.2+20180113-1.1 [11.7 kB]
                          Get:2 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libao4 armhf 1.2.2+20180113-1.1 [33.6 kB]
                          Get:3 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libatlas3-base armhf 3.10.3-10+rpi1 [2,454 kB]
                          Get:4 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libatlas-base-dev armhf 3.10.3-10+rpi1 [2,601 kB]
                          Get:5 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libmagic-dev armhf 1:5.39-3 [128 kB]
                          Get:6 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libopencore-amrnb0 armhf 0.1.5-1 [85.3 kB]
                          Get:7 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libopencore-amrwb0 armhf 0.1.5-1 [45.9 kB]
                          Get:8 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libsox3 armhf 14.4.2+git20190427-2 [227 kB]
                          Get:9 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libsox-fmt-alsa armhf 14.4.2+git20190427-2 [51.3 kB]
                          Get:10 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libsox-fmt-ao armhf 14.4.2+git20190427-2 [48.3 kB]
                          Get:11 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libsox-fmt-base armhf 14.4.2+git20190427-2 [69.0 kB]
                          Get:12 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libsox-fmt-mp3 armhf 14.4.2+git20190427-2 [56.8 kB]
                          Get:13 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libsox-fmt-oss armhf 14.4.2+git20190427-2 [49.4 kB]
                          Get:14 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libsox-fmt-pulse armhf 14.4.2+git20190427-2 [47.9 kB]
                          Get:15 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf libsox-fmt-all armhf 14.4.2+git20190427-2 [46.0 kB]
                          Get:16 http://mirror.us.leaseweb.net/raspbian/raspbian bullseye/main armhf sox armhf 14.4.2+git20190427-2 [139 kB]
                          Fetched 6,094 kB in 1min 8s (89.7 kB/s)
                          Selecting previously unselected package libao-common.
                          (Reading database … 109607 files and directories currently installed.)
                          Preparing to unpack …/00-libao-common_1.2.2+20180113-1.1_all.deb …
                          Unpacking libao-common (1.2.2+20180113-1.1) …
                          Selecting previously unselected package libao4:armhf.
                          Preparing to unpack …/01-libao4_1.2.2+20180113-1.1_armhf.deb …
                          Unpacking libao4:armhf (1.2.2+20180113-1.1) …
                          Selecting previously unselected package libatlas3-base:armhf.
                          Preparing to unpack …/02-libatlas3-base_3.10.3-10+rpi1_armhf.deb …
                          Unpacking libatlas3-base:armhf (3.10.3-10+rpi1) …
                          Selecting previously unselected package libatlas-base-dev:armhf.
                          Preparing to unpack …/03-libatlas-base-dev_3.10.3-10+rpi1_armhf.deb …
                          Unpacking libatlas-base-dev:armhf (3.10.3-10+rpi1) …
                          Selecting previously unselected package libmagic-dev:armhf.
                          Preparing to unpack …/04-libmagic-dev_1%3a5.39-3_armhf.deb …
                          Unpacking libmagic-dev:armhf (1:5.39-3) …
                          Selecting previously unselected package libopencore-amrnb0:armhf.
                          Preparing to unpack …/05-libopencore-amrnb0_0.1.5-1_armhf.deb …
                          Unpacking libopencore-amrnb0:armhf (0.1.5-1) …
                          Selecting previously unselected package libopencore-amrwb0:armhf.
                          Preparing to unpack …/06-libopencore-amrwb0_0.1.5-1_armhf.deb …
                          Unpacking libopencore-amrwb0:armhf (0.1.5-1) …
                          Selecting previously unselected package libsox3:armhf.
                          Preparing to unpack …/07-libsox3_14.4.2+git20190427-2_armhf.deb …
                          Unpacking libsox3:armhf (14.4.2+git20190427-2) …
                          Selecting previously unselected package libsox-fmt-alsa:armhf.
                          Preparing to unpack …/08-libsox-fmt-alsa_14.4.2+git20190427-2_armhf.deb …
                          Unpacking libsox-fmt-alsa:armhf (14.4.2+git20190427-2) …
                          Selecting previously unselected package libsox-fmt-ao:armhf.
                          Preparing to unpack …/09-libsox-fmt-ao_14.4.2+git20190427-2_armhf.deb …
                          Unpacking libsox-fmt-ao:armhf (14.4.2+git20190427-2) …
                          Selecting previously unselected package libsox-fmt-base:armhf.
                          Preparing to unpack …/10-libsox-fmt-base_14.4.2+git20190427-2_armhf.deb …
                          Unpacking libsox-fmt-base:armhf (14.4.2+git20190427-2) …
                          Selecting previously unselected package libsox-fmt-mp3:armhf.
                          Preparing to unpack …/11-libsox-fmt-mp3_14.4.2+git20190427-2_armhf.deb …
                          Unpacking libsox-fmt-mp3:armhf (14.4.2+git20190427-2) …
                          Selecting previously unselected package libsox-fmt-oss:armhf.
                          Preparing to unpack …/12-libsox-fmt-oss_14.4.2+git20190427-2_armhf.deb …
                          Unpacking libsox-fmt-oss:armhf (14.4.2+git20190427-2) …
                          Selecting previously unselected package libsox-fmt-pulse:armhf.
                          Preparing to unpack …/13-libsox-fmt-pulse_14.4.2+git20190427-2_armhf.deb …
                          Unpacking libsox-fmt-pulse:armhf (14.4.2+git20190427-2) …
                          Selecting previously unselected package libsox-fmt-all:armhf.
                          Preparing to unpack …/14-libsox-fmt-all_14.4.2+git20190427-2_armhf.deb …
                          Unpacking libsox-fmt-all:armhf (14.4.2+git20190427-2) …
                          Selecting previously unselected package sox.
                          Preparing to unpack …/15-sox_14.4.2+git20190427-2_armhf.deb …
                          Unpacking sox (14.4.2+git20190427-2) …
                          Setting up libatlas3-base:armhf (3.10.3-10+rpi1) …
                          update-alternatives: using /usr/lib/arm-linux-gnueabihf/atlas/libblas.so.3 to provide /usr/lib/arm-linux-gnueabihf/libblas.so.3 (libblas.so.3-arm-linux-gnueabihf) in auto mode
                          update-alternatives: using /usr/lib/arm-linux-gnueabihf/atlas/liblapack.so.3 to provide /usr/lib/arm-linux-gnueabihf/liblapack.so.3 (liblapack.so.3-arm-linux-gnueabihf) in auto mode
                          Setting up libsox3:armhf (14.4.2+git20190427-2) …
                          Setting up libsox-fmt-oss:armhf (14.4.2+git20190427-2) …
                          Setting up libmagic-dev:armhf (1:5.39-3) …
                          Setting up libatlas-base-dev:armhf (3.10.3-10+rpi1) …
                          update-alternatives: using /usr/lib/arm-linux-gnueabihf/atlas/libblas.so to provide /usr/lib/arm-linux-gnueabihf/libblas.so (libblas.so-arm-linux-gnueabihf) in auto mode
                          update-alternatives: using /usr/lib/arm-linux-gnueabihf/atlas/liblapack.so to provide /usr/lib/arm-linux-gnueabihf/liblapack.so (liblapack.so-arm-linux-gnueabihf) in auto mode
                          Setting up libao-common (1.2.2+20180113-1.1) …
                          Setting up libopencore-amrwb0:armhf (0.1.5-1) …
                          Setting up libsox-fmt-alsa:armhf (14.4.2+git20190427-2) …
                          Setting up libao4:armhf (1.2.2+20180113-1.1) …
                          Setting up libopencore-amrnb0:armhf (0.1.5-1) …
                          Setting up libsox-fmt-base:armhf (14.4.2+git20190427-2) …
                          Setting up libsox-fmt-ao:armhf (14.4.2+git20190427-2) …
                          Setting up libsox-fmt-mp3:armhf (14.4.2+git20190427-2) …
                          Setting up libsox-fmt-pulse:armhf (14.4.2+git20190427-2) …
                          Setting up sox (14.4.2+git20190427-2) …
                          Setting up libsox-fmt-all:armhf (14.4.2+git20190427-2) …
                          Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) …
                          Processing triggers for man-db (2.9.4-2) …
                          Processing triggers for mailcap (3.69) …
                          All Dependencies needed are installed !

                          Installing all npm libraries…

                          EXT-Detector@1.0.2 postinstall
                          installer/postinstall.sh

                          Minify Main code…
                          Process File: …/node_helper.js
                          Process File: …/EXT-Detector.js
                          Process File: …/platform.js
                          Done

                          Rebuild MagicMirror…
                          make: Entering directory ‘/home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/build’
                          CXX(target) Release/obj.target/snowboy/lib/snowboy.o
                          SOLINK_MODULE(target) Release/obj.target/snowboy.node
                          COPY Release/snowboy.node
                          COPY /home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/lib/node/binding/Release/electron-v22.0-linux-arm/snowboy.node
                          TOUCH Release/obj.target/action_after_build.stamp
                          make: Leaving directory ‘/home/talha/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/build’
                          Done

                          Support is now moved in a dedicated Server: https://forum.bugsounet.fr
                          @bugsounet

                          EXT-Detector is now installed !

                          up to date, audited 239 packages in 11m

                          37 packages are looking for funding
                          run npm fund for details

                          found 0 vulnerabilities

                          1 Reply Last reply Reply Quote 0
                          • T
                            talha.ahmii last edited by

                            but while running main magic mirror i am getting some errors and warning in logs which are below, can you please help me how can i correct these, what are the issues. thank you

                            talha@raspberrypi:~/MagicMirror $ npm run start

                            magicmirror@2.22.0 start
                            DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

                            [18.02.2023 23:37.18.381] [LOG] Starting MagicMirror: v2.22.0
                            [18.02.2023 23:37.18.403] [LOG] Loading config …
                            [18.02.2023 23:37.18.432] [LOG] Loading module helpers …
                            [18.02.2023 23:37.18.437] [LOG] No helper found for module: clock.
                            [18.02.2023 23:37.18.464] [LOG] Initializing new module helper …
                            [18.02.2023 23:37.18.466] [LOG] Module helper loaded: EXT-Alert
                            [18.02.2023 23:37.19.660] [LOG] Initializing new module helper …
                            [18.02.2023 23:37.19.662] [LOG] Module helper loaded: Gateway
                            [18.02.2023 23:37.21.301] [LOG] Initializing new module helper …
                            [18.02.2023 23:37.21.303] [LOG] Module helper loaded: MMM-GoogleAssistant
                            [18.02.2023 23:37.21.310] [LOG] Initializing new module helper …
                            [18.02.2023 23:37.21.311] [LOG] Module helper loaded: EXT-Detector
                            [18.02.2023 23:37.21.978] [LOG] Initializing new module helper …
                            [18.02.2023 23:37.21.980] [LOG] Module helper loaded: calendar
                            [18.02.2023 23:37.21.983] [LOG] No helper found for module: compliments.
                            [18.02.2023 23:37.22.083] [LOG] Initializing new module helper …
                            [18.02.2023 23:37.22.084] [LOG] Module helper loaded: newsfeed
                            [18.02.2023 23:37.22.085] [LOG] All module helpers loaded.
                            [18.02.2023 23:37.22.102] [LOG] Starting server on port 8080 …
                            [18.02.2023 23:37.24.055] [LOG] Server started …
                            [18.02.2023 23:37.24.061] [LOG] Connecting socket for: EXT-Alert
                            [18.02.2023 23:37.24.063] [LOG] Starting module helper: EXT-Alert
                            [18.02.2023 23:37.24.065] [LOG] Connecting socket for: Gateway
                            [18.02.2023 23:37.24.067] [LOG] Connecting socket for: MMM-GoogleAssistant
                            [18.02.2023 23:37.24.070] [LOG] [GA] Read config.js and check ConfigDeepMerge…
                            [18.02.2023 23:37.24.072] [LOG] [GA] Perfect ConfigDeepMerge activated!
                            [18.02.2023 23:37.24.077] [LOG] Connecting socket for: EXT-Detector
                            [18.02.2023 23:37.24.082] [LOG] [DETECTOR] EXT-Detector Version: 1.0.2 rev: 230218
                            [18.02.2023 23:37.24.083] [LOG] Connecting socket for: calendar
                            [18.02.2023 23:37.24.085] [LOG] Starting node helper for: calendar
                            [18.02.2023 23:37.24.087] [LOG] Connecting socket for: newsfeed
                            [18.02.2023 23:37.24.090] [LOG] Starting node helper for: newsfeed
                            [18.02.2023 23:37.24.093] [LOG] Sockets connected & modules started …
                            [18.02.2023 23:37.24.673] [LOG] Launching application.
                            [4184:0218/233731.707124:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
                            [4227:0218/233732.316670:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
                            [4199:0218/233732.394358:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
                            [18.02.2023 23:37.37.326] [LOG] Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
                            [18.02.2023 23:37.37.385] [LOG] Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
                            [18.02.2023 23:37.37.522] [LOG] [ALERT] EXT-Alert Version: 1.0.0 rev: 220301
                            [18.02.2023 23:37.37.532] [LOG] [GATEWAY] Gateway Version: 2.2.5 rev: 230120
                            [18.02.2023 23:37.37.544] [LOG] [GA] MMM-GoogleAssistant Version: 4.0.9 rev: 230115
                            [18.02.2023 23:37.37.549] [LOG] [GA] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
                            [18.02.2023 23:37.37.551] [LOG] [GA] Google Assistant is initialized.
                            [18.02.2023 23:37.40.616] [LOG] [DETECTOR] All needed @bugsounet library loaded !
                            [18.02.2023 23:37.40.619] [LOG] [DETECTOR] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
                            [18.02.2023 23:37.40.750] [LOG] [DETECTOR] Porcupine is initialized with 2 Models: ok google,hey google
                            [18.02.2023 23:37.40.760] [LOG] [DETECTOR] Snowboy is initialized with 1 Models: jarvis
                            [18.02.2023 23:37.42.844] [LOG] [DETECTOR] Starts listening. 3 Models
                            [18.02.2023 23:37.42.911] [LOG] [GATEWAY] Start app…
                            [18.02.2023 23:37.42.916] [WARN] [GATEWAY] WARN: You are using default username or default password
                            [18.02.2023 23:37.42.918] [WARN] [GATEWAY] WARN: Don’t forget to change it!
                            [18.02.2023 23:37.44.348] [LOG] [HyperWatch] Logger is enabled
                            [18.02.2023 23:37.44.350] [LOG] [GATEWAY] Start listening on http://192.168.1.111:8081
                            [18.02.2023 23:37.44.515] [LOG] [GATEWAY] Gateway Version: 2.2.5 rev: 230120
                            [18.02.2023 23:37.44.920] [LOG] [GATEWAY] Start app…
                            [18.02.2023 23:37.44.920] [WARN] [GATEWAY] WARN: You are using default username or default password
                            [18.02.2023 23:37.44.921] [WARN] [GATEWAY] WARN: Don’t forget to change it!
                            [18.02.2023 23:37.45.603] [LOG] [HyperWatch] Logger is enabled
                            [18.02.2023 23:37.45.608] [ERROR] Whoops! There was an uncaught exception…
                            [18.02.2023 23:37.45.625] [ERROR] Error: listen EADDRINUSE: address already in use 192.168.1.111:8081
                            at Server.setupListenHandle [as _listen2] (node:net:1432:16)
                            at listenInCluster (node:net:1480:12)
                            at doListen (node:net:1629:7)
                            at process.processTicksAndRejections (node:internal/process/task_queues:84:21) {
                            code: ‘EADDRINUSE’,
                            errno: -98,
                            syscall: ‘listen’,
                            address: ‘192.168.1.111’,
                            port: 8081
                            }
                            [18.02.2023 23:37.45.626] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                            [18.02.2023 23:37.45.627] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                            [18.02.2023 23:37.46.317] [INFO] Newsfeed-Fetcher: Broadcasting 24 items.
                            [18.02.2023 23:37.47.404] [INFO] Calendar-Fetcher: Broadcasting 13 events.
                            [18.02.2023 23:37.52.011] [LOG] [DETECTOR] Stops listening.
                            [18.02.2023 23:37.52.012] [LOG] [DETECTOR] Detected: jarvis from: Snowboy
                            [18.02.2023 23:37.57.269] [LOG] [DETECTOR] Starts listening. 3 Models
                            [18.02.2023 23:38.04.396] [LOG] [DETECTOR] Stops listening.
                            [18.02.2023 23:38.04.397] [LOG] [DETECTOR] Detected: jarvis from: Snowboy
                            [18.02.2023 23:38.10.334] [LOG] [DETECTOR] Starts listening. 3 Models
                            [18.02.2023 23:38.17.188] [LOG] [DETECTOR] Stops listening.
                            [18.02.2023 23:38.17.189] [LOG] [DETECTOR] Detected: jarvis from: Snowboy
                            [18.02.2023 23:38.23.566] [LOG] [DETECTOR] Starts listening. 3 Models
                            [18.02.2023 23:38.32.917] [LOG] Shutting down server…
                            [18.02.2023 23:38.32.919] [LOG] Stopping module helper: EXT-Alert
                            [18.02.2023 23:38.32.920] [LOG] Stopping module helper: Gateway
                            [18.02.2023 23:38.32.920] [LOG] Stopping module helper: MMM-GoogleAssistant
                            [18.02.2023 23:38.32.921] [LOG] Stopping module helper: EXT-Detector
                            [18.02.2023 23:38.32.921] [LOG] Stopping module helper: calendar
                            [18.02.2023 23:38.32.922] [LOG] Stopping module helper: newsfeed

                            1 Reply Last reply Reply Quote 0
                            • A
                              adel51 last edited by

                              salut,
                              peut-être as tu lancé relancer MM alors qu’il tournait déjà?

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

                                [18.02.2023 23:37.45.625] [ERROR] Error: listen EADDRINUSE: address already in use 192.168.1.111:8081
                                at Server.setupListenHandle [as _listen2] (node:net:1432:16)
                                at listenInCluster (node:net:1480:12)
                                at doListen (node:net:1629:7)
                                at process.processTicksAndRejections (node:internal/process/task_queues:84:21) {
                                code: ‘EADDRINUSE’,
                                errno: -98,
                                syscall: ‘listen’,
                                address: ‘192.168.1.111’,
                                port: 8081
                                }
                                

                                It’s means that 8081 port is already used by another app, So Try another port in your GW config

                                Note: this error is only for the app not, it will not impact Gateway rules for plugins 🙂

                                1 Reply Last reply Reply Quote 0
                                • T
                                  talha.ahmii last edited by

                                  thank you sir

                                  1 Reply Last reply Reply Quote 0
                                  • Topic has been marked as solved  T talha.ahmii 
                                  • First post
                                    Last post
                                  Powered by NodeBB | @bugsounet ©2022