Read the statement by Michael Teeuw here.
Mirror not working after upgrading to v2.7.0
-
@icripps u need to run npm install.
And again in every module folder that has a package.json file -
@sdetweil after i did npm install i get the following:
npm install
magicmirror@2.7.1 install /home/pi/MagicMirror
cd vendor && npm installnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})audited 219 packages in 15.167s
found 5 vulnerabilities (4 low, 1 high)
runnpm audit fix
to fix them, ornpm audit
for detailsmagicmirror@2.7.1 postinstall /home/pi/MagicMirror
sh installers/postinstall/postinstall.sh && npm run install-fontsMagicMirror installation successful!
magicmirror@2.7.1 install-fonts /home/pi/MagicMirror
cd fonts && npm installaudited 1 package in 3.223s
found 0 vulnerabilitiesnpm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.audited 2440 packages in 76.299s
found 13 vulnerabilities (6 low, 6 moderate, 1 high)
runnpm audit fix
to fix them, ornpm audit
for details
pi@raspberrypi:~/MagicMirror $ ^C
pi@raspberrypi:~/MagicMirror $ npm audit fix
npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.updated 1 package in 48.461s
fixed 1 of 13 vulnerabilities in 2440 scanned packages
2 package updates for 12 vulns involved breaking changes
(usenpm audit fix --force
to install breaking changes; or refer tonpm audit
for steps to fix these manually)
pi@raspberrypi:~/MagicMirror $ npm installmagicmirror@2.7.1 install /home/pi/MagicMirror
cd vendor && npm installnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})audited 219 packages in 15.816s
found 5 vulnerabilities (4 low, 1 high)
runnpm audit fix
to fix them, ornpm audit
for detailsmagicmirror@2.7.1 postinstall /home/pi/MagicMirror
sh installers/postinstall/postinstall.sh && npm run install-fontsMagicMirror installation successful!
magicmirror@2.7.1 install-fonts /home/pi/MagicMirror
cd fonts && npm installaudited 1 package in 2.231s
found 0 vulnerabilitiesnpm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.audited 2440 packages in 78.438s
found 12 vulnerabilities (6 low, 5 moderate, 1 high)
runnpm audit fix
to fix them, ornpm audit
for details -
@icripps yeh, wish they hadn’t added the vulnerability checking.
So, move on to each module folder that gas a package.json and do it again.
Repeat
-
@sdetweil i tried npm install in each of the moudules directory but i get the same error about snowboy and AMK2 . i removed those modules from my config.js files and the mirror started without a problem.
do i have to remove the MMM-hotword and Amk2 and reinstall them?
-
@icripps for hotword there is a set of instructions in it’s readme about working thru this kind of problem.
Will work for amk2 as well.