Bugsounet Coding

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

    detector rebulid fail

    EXT-Detector
    3
    8
    91
    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
      ain last edited by

      I install MMM-googleaAssistant in raspberrypi 4 and follow wiki https://wiki.bugsounet.fr/en/MMM-GoogleAssistant
      i follow the process and npm start to magicmirror2, but the
      magicmirror screen saw about EXT-alert massage,
      “fatal … npm start rebulid EXT-Detector”

      i use my terminal to rebulid it, but it didnt work, just freeze it
      and i delete EXT-Detector folder, reinstall, change the config.js
      but it show about same screen, “rebulid EXT-Detector”

      and i try to “npm update”, it also fail what worng about EXT-Detector?
      i want use my MMM-googleAssistant

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

        Hi @ain

        1. Thanks to follow this Thanks…
        2. what the result of the rebuild command ? can you past logs ?
        3. If failed, give me node version, npm version, Raspberry pi os version and architecture of the OS
        A 2 Replies Last reply Reply Quote 0
        • A
          ain last edited by

          TeamViewer_IwVCwycaZA.png

          this is my magic mirror2 page, and i try to re bulid
          itsc@raspberrypi:~/MagicMirror/modules/EXT-Detector $ npm run rebuild

          EXT-Detector@1.0.1 rebuild
          installer/rebuild.sh

          Welcome to EXT-Detector rebuild script
          This script will erase current build of EXT-Detector and reinstall it
          Use this script only for the new version of Magic Mirror
          Do you want to continue ? [Y/n]
          Your choice:
          but, i usually can’t click, enter the y, the rasberry pi termmal that screen is freeze
          even when i sucess the y the log printed…

          Deleting: package-lock.json node_modules
          Done.

          Upgrading EXT-Detector…
          HEAD의 현재 위치는 04a5704입니다 Merge pull request #2 from bugsounet/dev
          Updated 0 paths from the index
          힌트: Pulling without specifying how to reconcile divergent branches is
          힌트: discouraged. You can squelch this message by running one of the following
          힌트: commands sometime before your next pull:
          힌트:
          힌트: git config pull.rebase false # merge (the default strategy)
          힌트: git config pull.rebase true # rebase
          힌트: git config pull.ff only # fast-forward only
          힌트:
          힌트: You can replace “git config” with “git config --global” to set a default
          힌트: preference for all repositories. You can also pass --rebase, --no-rebase,
          힌트: or --ff-only on the command line to override the configured default per
          힌트: invocation.
          이미 업데이트 상태입니다.
          Done.

          Reinstalling EXT-Detector…
          npm ERR! code 2
          npm ERR! path /home/itsc/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy
          npm ERR! command failed
          npm ERR! command sh -c tsc -p tsconfig.json
          npm ERR! error TS2688: Cannot find type definition file for ‘babel__core’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘babel__core’
          npm ERR! error TS2688: Cannot find type definition file for ‘babel__generator’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘babel__generator’
          npm ERR! error TS2688: Cannot find type definition file for ‘babel__template’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘babel__template’
          npm ERR! error TS2688: Cannot find type definition file for ‘babel__traverse’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘babel__traverse’
          npm ERR! error TS2688: Cannot find type definition file for ‘graceful-fs’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘graceful-fs’
          npm ERR! error TS2688: Cannot find type definition file for ‘istanbul-lib-coverage’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘istanbul-lib-coverage’
          npm ERR! error TS2688: Cannot find type definition file for ‘istanbul-lib-report’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘istanbul-lib-report’
          npm ERR! error TS2688: Cannot find type definition file for ‘istanbul-reports’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘istanbul-reports’
          npm ERR! error TS2688: Cannot find type definition file for ‘json-schema’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘json-schema’
          npm ERR! error TS2688: Cannot find type definition file for ‘minimatch’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘minimatch’
          npm ERR! error TS2688: Cannot find type definition file for ‘minimist’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘minimist’
          npm ERR! error TS2688: Cannot find type definition file for ‘normalize-package-data’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘normalize-package-data’
          npm ERR! error TS2688: Cannot find type definition file for ‘parse-json’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘parse-json’
          npm ERR! error TS2688: Cannot find type definition file for ‘prettier’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘prettier’
          npm ERR! error TS2688: Cannot find type definition file for ‘stack-utils’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘stack-utils’
          npm ERR! error TS2688: Cannot find type definition file for ‘yargs’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘yargs’
          npm ERR! error TS2688: Cannot find type definition file for ‘yargs-parser’.
          npm ERR! The file is in the program because:
          npm ERR! Entry point for implicit type library ‘yargs-parser’

          npm ERR! A complete log of this run can be found in:
          npm ERR! /home/itsc/.npm/_logs/2022-07-13T02_43_07_575Z-debug-0.log

          my rasberry pi is Raspberry Pi 4 Model B Rev 1.2 / Debian GNU/Linux 11 \n \l
          and node version v16.16.0, npm version is 8.11.0

          A 1 Reply Last reply Reply Quote -1
          • A
            ain @ain last edited by

            @ain some korean word 힌트 = hint,
            이미 업데이트 상태입니다 = already update

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

              I get the same error.

              1 Reply Last reply Reply Quote 0
              • A
                ain @bugsounet last edited by

                @bugsounet here is my log and npm, node.js raspberry version

                1 Reply Last reply Reply Quote 0
                • A
                  ain @bugsounet last edited by

                  @bugsounet
                  this is my magic mirror2 page, and i try to re bulid
                  itsc@raspberrypi:~/MagicMirror/modules/EXT-Detector $ npm run rebuild

                  EXT-Detector@1.0.1 rebuild
                  installer/rebuild.sh

                  Welcome to EXT-Detector rebuild script
                  This script will erase current build of EXT-Detector and reinstall it
                  Use this script only for the new version of Magic Mirror
                  Do you want to continue ? [Y/n]
                  Your choice:
                  but, i usually can’t click, enter the y, the rasberry pi termmal that screen is freeze
                  even when i sucess the y the log printed…

                  Deleting: package-lock.json node_modules
                  Done.

                  Upgrading EXT-Detector…
                  HEAD의 현재 위치는 04a5704입니다 Merge pull request #2 from bugsounet/dev
                  Updated 0 paths from the index
                  힌트: Pulling without specifying how to reconcile divergent branches is
                  힌트: discouraged. You can squelch this message by running one of the following
                  힌트: commands sometime before your next pull:
                  힌트:
                  힌트: git config pull.rebase false # merge (the default strategy)
                  힌트: git config pull.rebase true # rebase
                  힌트: git config pull.ff only # fast-forward only
                  힌트:
                  힌트: You can replace “git config” with “git config --global” to set a default
                  힌트: preference for all repositories. You can also pass --rebase, --no-rebase,
                  힌트: or --ff-only on the command line to override the configured default per
                  힌트: invocation.
                  이미 업데이트 상태입니다.
                  Done.

                  Reinstalling EXT-Detector…
                  npm ERR! code 2
                  npm ERR! path /home/itsc/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy
                  npm ERR! command failed
                  npm ERR! command sh -c tsc -p tsconfig.json
                  npm ERR! error TS2688: Cannot find type definition file for ‘babel__core’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘babel__core’
                  npm ERR! error TS2688: Cannot find type definition file for ‘babel__generator’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘babel__generator’
                  npm ERR! error TS2688: Cannot find type definition file for ‘babel__template’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘babel__template’
                  npm ERR! error TS2688: Cannot find type definition file for ‘babel__traverse’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘babel__traverse’
                  npm ERR! error TS2688: Cannot find type definition file for ‘graceful-fs’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘graceful-fs’
                  npm ERR! error TS2688: Cannot find type definition file for ‘istanbul-lib-coverage’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘istanbul-lib-coverage’
                  npm ERR! error TS2688: Cannot find type definition file for ‘istanbul-lib-report’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘istanbul-lib-report’
                  npm ERR! error TS2688: Cannot find type definition file for ‘istanbul-reports’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘istanbul-reports’
                  npm ERR! error TS2688: Cannot find type definition file for ‘json-schema’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘json-schema’
                  npm ERR! error TS2688: Cannot find type definition file for ‘minimatch’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘minimatch’
                  npm ERR! error TS2688: Cannot find type definition file for ‘minimist’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘minimist’
                  npm ERR! error TS2688: Cannot find type definition file for ‘normalize-package-data’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘normalize-package-data’
                  npm ERR! error TS2688: Cannot find type definition file for ‘parse-json’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘parse-json’
                  npm ERR! error TS2688: Cannot find type definition file for ‘prettier’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘prettier’
                  npm ERR! error TS2688: Cannot find type definition file for ‘stack-utils’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘stack-utils’
                  npm ERR! error TS2688: Cannot find type definition file for ‘yargs’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘yargs’
                  npm ERR! error TS2688: Cannot find type definition file for ‘yargs-parser’.
                  npm ERR! The file is in the program because:
                  npm ERR! Entry point for implicit type library ‘yargs-parser’

                  npm ERR! A complete log of this run can be found in:
                  npm ERR! /home/itsc/.npm/_logs/2022-07-13T02_43_07_575Z-debug-0.log

                  my rasberry pi is Raspberry Pi 4 Model B Rev 1.2 / Debian GNU/Linux 11 \n \l
                  and node version v16.16.0, npm version is 8.11.0

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

                    Naturally You have follow MagicMirror require and all my require and blah, blah, blah…

                    I will not lost my time with this !

                    1. You are not able to says me hello, pretty sentence, …
                    2. You are not able to read any docs !

                    From Manual of MagicMirror:

                    image.png

                    From wiki of EXT-Detector:
                    .
                    03f0ca0d-16ac-41d5-963e-4ab7ab7d06aa-image.png

                    and I see what ?

                    my rasberry pi is Raspberry Pi 4 Model B Rev 1.2 / Debian GNU/Linux 11 \n \l

                    So It’s Debian arm and it’s an x64 version
                    Are you really sure that raspbian is the same as debian for an raspberry pi ?
                    Are you really sure that an x64 version is the same as a 32bits version ?

                    Good luck
                    @bugsounet

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