Read the statement by Michael Teeuw here.
MM2 my first try
-
@alainchiasson said in MM2 my first try:
The initial script failed on dependancies and depracated packages. Just could not get it to work.
The installation script hasn’t been updated to handle some of the changes in the latest version of Raspbian. I would ignore it and follow the steps for a manual installation.
-
-
I too had the same problem with my attempt at installing the MM program. I found this on
https://www.w3schools.com/nodejs/nodejs_raspberrypi.asp. i used it as a long shot as i was running out of things to try. it worked and i now have MM up and running. I am using the AIY project file as install on raspberry pi 2. -
so second try : i decided to restart from the beginning
i tried the manual installation
first i install the node .js, no trouble, intall seems OK
but when i began " npm install && npm start", troubles appear :pi@raspberrypi:~/MagicMirror $ npm install && npm start
npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver node ./download-chromedriver.js
successfully dowloaded and extracted!
electron@2.0.16 postinstall /home/pi/MagicMirror/node_modules/electron node install.js
Downloading SHASUMS256.txt
[============================================>] 100.0% of 5.39 kB (5.39 kB/s)magicmirror@2.6.0 install /home/pi/MagicMirror cd vendor && npm install
npm 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”})added 82 packages from 57 contributors and audited 220 packages in 15.75s
found 4 low severity vulnerabilities
run npm audit fix to fix them, or npm audit for detailsmagicmirror@2.6.0 postinstall /home/pi/MagicMirror sh installers/postinstall/postinstall.sh && npm run install-fonts
MagicMirror installation successful!
magicmirror@2.6.0 install-fonts /home/pi/MagicMirror cd fonts && npm install
added 1 package from 1 contributor and audited 1 package in 8.517s
found 0 vulnerabilitiesnpm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.
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.added 930 packages from 1367 contributors and audited 2433 packages in 210.933s
found 23 vulnerabilities (8 low, 14 moderate, 1 high)
run npm audit fix to fix them, or npm audit for detailsmagicmirror@2.6.0 start /home/pi/MagicMirror sh run-start.sh
Starting MagicMirror: v2.6.0
Loading config …
WARNING! Could not find config file. Please create one. Starting with default configuration.
Loading module helpers …
Initializing new module helper …
Module helper loaded: updatenotification
No helper found for module: helloworld.
All module helpers loaded.
Starting server on port 8080 …
Server started …
Connecting socket for: updatenotification
Sockets connected & modules started …
Launching application.
Shutting down server…
Stopping module helper: updatenotificationso, as resquest, i run npm audit for fixthis
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.jshint@2.10.1 added 4 packages from 4 contributors, removed 7 packages and updated 13 packages in 44.656s fixed 13 of 23 vulnerabilities in 2433 scanned packages 2 vulnerabilities required manual review and could not be updated 1 package update for 8 vulns involved breaking changes (use npm audit fix --force to install breaking changes; or refer to npm audit for steps to fix these manually) pi@raspberrypi:~/MagicMirror $
and i still have thoses 2 warnings who seems bad
-
@seramik - Warnings are just that: warnings. I usually ignore them and concentrate on errors. Errors will prevent your mirror from working.
This, OTOH, is important:
WARNING! Could not find config file. Please create one. Starting with default configuration.
To fix this, you need to copy the included sample configuration file to its final destination. This will become your working configuration file and what you will edit as you add modules.
cd ~/MagicMirror/config cp config.js.sample config.js
So now when you want to change the behavior of your mirror, you will edit the
config.js
file. -
it is OK for the config file, i’ve got the old one
-
ok guys, some news
my rpi works fine, modules seems OK
i just buy wood for the frame, i need to cut, and glue that before painting
the glass is ready
i will try to put my picam behind the glass and i will try to have facial recognition just for funi choose to put off my mirror every night with crontab fonction ( poweroff) and i decided to install a switch on RUN contact to put my mirror on
the old TV is now ready too, plastik are away, i still dont know if i keep speakers or not,
here is a view of it :
http://zupimages.net/viewer.php?id=19/13/wivu.jpg