Solved issue with npm
-
@bugsounet npm run rebuild
EXT-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: yDeleting: package-lock.json node_modules
Done.Upgrading EXT-Detector…
HEAD is now at 04a5704 Merge pull request #2 from bugsounet/dev
Already up to date.
Done.Reinstalling EXT-Detector…
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142EXT-Detector@1.0.1 preinstall
installer/preinstall.shWelcome to EXT-Detector “1.0.1”,
Checking OS…
OS Detected: linux-gnueabihf (raspbian 10 armv7l)Checking all dependencies…
All Dependencies needed are installed !Installing all npm libraries…
EXT-Detector@1.0.1 postinstall
installer/postinstall.shMagicMirror Rebuild…
⠴ MagicMirror Building module: snowboy, Completed: 0gyp info find Python using Python version 3.7.3 found at “/usr/bin/python3”
⠦ MagicMirror Building module: snowboy, Completed: 0gyp http GET https://www.electronjs.org/headers/v16.0.5/node-v16.0.5-headers.tar.gz
⠇ MagicMirror Building module: snowboy, Completed: 0gyp http 200 https://www.electronjs.org/headers/v16.0.5/node-v16.0.5-headers.tar.gz
⠋ MagicMirror Building module: snowboy, Completed: 0gyp http GET https://www.electronjs.org/headers/v16.0.5/SHASUMS256.txt
⠴ MagicMirror Building module: snowboy, Completed: 0gyp http 200 https://www.electronjs.org/headers/v16.0.5/SHASUMS256.txt
(node:9892) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
(Usenode --trace-deprecation ...
to show where the warning was created)
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args ‘/home/pi/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/pi/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/build/config.gypi’,
gyp info spawn args ‘-I’,
gyp info spawn args ‘/home/pi/MagicMirror/modules/EXT-Detector/node_modules/node-gyp/addon.gypi’,
gyp info spawn args ‘-I’,
gyp info spawn args ‘/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/16.0.5/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/pi/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/16.0.5’,
gyp info spawn args ‘-Dnode_gyp_dir=/home/pi/MagicMirror/modules/EXT-Detector/node_modules/node-gyp’,
gyp info spawn args ‘-Dnode_lib_file=/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/16.0.5/<(target_arch)/node.lib’,
gyp info spawn args ‘-Dmodule_root_dir=/home/pi/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: name ‘openssl_fips’ is not defined while evaluating condition ‘openssl_fips != “”’ in binding.gyp while trying to load binding.gyp
MagicMirror Rebuild FailedAn unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild ‘/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy’.
Error:gyp
failed with exit code: 1Error: node-gyp failed to rebuild ‘/home/pi/MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy’.
Error:gyp
failed with exit code: 1at ModuleRebuilder.rebuildNodeGypModule (/home/pi/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/pi/MagicMirror/modules/EXT-Detector/node_modules/magicmirror-rebuild/build/rebuild.js:180:9) at async Rebuilder.rebuild (/home/pi/MagicMirror/modules/EXT-Detector/node_modules/magicmirror-rebuild/build/rebuild.js:143:17) at async /home/pi/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
@bugsounetEXT-Detector is now installed !
added 205 packages, and audited 206 packages in 49s
24 packages are looking for funding
runnpm fund
for detailsfound 0 vulnerabilities
-
ok so the error is this:
gyp: name ‘openssl_fips’ is not defined while evaluating condition ‘openssl_fips != “”’ in binding.gyp while trying to load binding.gyp
what node version used ?
node -v
command can help (generaly you have this error with node v10) -
@bugsounet v17.8.0
-
and 17 so
-
try with node v14 and it will works
V16 and v17 is actually under devel (not really for using with MM)
v12 or v14 is the require for MM (recommanded v14)OS: Raspbian 11 // (Bullseye – 32-bit Version) is needed or debian 11
RPI 3b+ or more
Node: v14.x.x
npm: = v6.14.15 (some trouble with v7.x and more)
Linux: tested and developed on Linux Debian 11
720p // HD screen or more -
@bugsounet should i downgrade it?
-
naturally yes
-
@bugsounet hey it worked i know it’s not much but enjoy your beer thank you a lot for your help and time
-
don’t forget to Correct and transform MMM-GoogleAssistant v3 config to MMM-GoogleAssistant v4 config !
Because i’m king today …
I will do it:{ module: "MMM-GoogleAssistant", configDeepMerge: true, config: { assistantConfig: { latitude: 51.508530, longitude: -0.076132, } } },
really not complex !
Note:
classes: "always",
is not needed because this module use popups (only displayed on demand and have no position on the screen) -
this issue is now solved. open another if needed
-