• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MM2 my first try

Scheduled Pinned Locked Moved Unsolved Troubleshooting
21 Posts 8 Posters 6.0k Views 7 Watching
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.
  • M Offline
    Mark Fleming
    last edited by Feb 20, 2019, 11:15 AM

    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.

    1 Reply Last reply Reply Quote 0
    • S Offline
      seramik
      last edited by Mar 2, 2019, 3:31 PM

      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 details

      magicmirror@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 vulnerabilities

      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.
      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 details

      magicmirror@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: updatenotification

      so, 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

      B 1 Reply Last reply Mar 4, 2019, 2:21 AM Reply Quote 0
      • B Offline
        bhepler Module Developer @seramik
        last edited by bhepler Mar 4, 2019, 2:23 AM Mar 4, 2019, 2:21 AM

        @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.

        1 Reply Last reply Reply Quote 0
        • S Offline
          seramik
          last edited by Mar 4, 2019, 5:41 PM

          it is OK for the config file, i’ve got the old one

          1 Reply Last reply Reply Quote 0
          • S Offline
            seramik
            last edited by Mar 31, 2019, 8:39 PM

            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 fun

            i 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

            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 3
            • 3 / 3
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy