detector rebulid fail
-
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 -
Hi @ain
- Thanks to follow this Thanks…
- what the result of the rebuild command ? can you past logs ?
- If failed, give me node version, npm version, Raspberry pi os version and architecture of the OS
-
this is my magic mirror2 page, and i try to re bulid
itsc@raspberrypi:~/MagicMirror/modules/EXT-Detector $ npm run rebuildEXT-Detector@1.0.1 rebuild
installer/rebuild.shWelcome 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.logmy 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 -
@ain some korean word 힌트 = hint,
이미 업데이트 상태입니다 = already update -
I get the same error.
-
@bugsounet here is my log and npm, node.js raspberry version
-
@bugsounet
this is my magic mirror2 page, and i try to re bulid
itsc@raspberrypi:~/MagicMirror/modules/EXT-Detector $ npm run rebuildEXT-Detector@1.0.1 rebuild
installer/rebuild.shWelcome 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.logmy 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 -
Naturally You have follow MagicMirror require and all my require and blah, blah, blah…
I will not lost my time with this !
- You are not able to says me hello, pretty sentence, …
- You are not able to read any docs !
From Manual of MagicMirror:
From wiki of EXT-Detector:
.
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 -
bugsounet