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

Please help me...........

Scheduled Pinned Locked Moved General Discussion
19 Posts 4 Posters 3.2k Views 4 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.
  • D Offline
    daegon-jjiya
    last edited by yawns Nov 11, 2019, 11:44 AM Nov 8, 2019, 10:25 AM

    This is my first mirror. Even if you follow the video on YouTube, there are a lot of errors…

    Install, delete, install, delete, repeat 30 times I’m tired.

    board : raspverry pi 3 b+

    install root >

    (I’m Korean, so I did a Korean patch.)

    step.1

    sudo apt-get install fonts-nanum fonts-synbola
    reboot
    

    Success up to here

    step.2

    sudo apt-get update
    sudo apt-get upgrade
    

    Success up to here

    step. 3

    bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
    
    * > 1 error
    ********
    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 @types/vfile-message@2.0.0: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.
    
    > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
    > node ./download-chromedriver.js
    
    successfully dowloaded and extracted!
    
    > electron@3.0.13 postinstall /home/pi/MagicMirror/node_modules/electron
    > node install.js
    
    > magicmirror@2.9.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 23.983s
    found 5 vulnerabilities (4 low, 1 high)
      run `npm audit fix` to fix them, or `npm audit` for details
    
    > magicmirror@2.9.0 postinstall /home/pi/MagicMirror
    > sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts
    
    We'll remove from the repository the css/custom.css
    This script apply git update-index --skip-worktree css/custom.css
    rm 'css/custom.css'
    MagicMirror installation successful!
    
    *********************************************************************
    

    No more progress after this. I can’t even run a magic mirror.

    The goal is to install Hotwords and Google Assist MK2, but I can’t.

    If you have ever installed a magic mirror with your Raspberry pi B +,

    please let me know how to install it. , but I can only follow.

    I want to make it to my children like the link below. See also how to make. Please ask again

    https://www.youtube.com/watch?v=6mrfwOO0OEg&list=PL46rwaN5jZCkC_ZVdg2qvu6GxVMxM-zGK&index=4

    If you solve it, I will buy rice in Korea ^^

    S 1 Reply Last reply Nov 8, 2019, 2:07 PM Reply Quote 0
    • S Away
      sdetweil @daegon-jjiya
      last edited by Nov 8, 2019, 2:07 PM

      @daegon-jjiya

      what happens?

      maybe try the udpated installer

      https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer

      you will have to erase the MagicMirror folder to start over

      cd ~
      rm -rf MagicMirror
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      D 1 Reply Last reply Nov 11, 2019, 4:24 AM Reply Quote 0
      • D Offline
        daegon-jjiya @sdetweil
        last edited by Nov 11, 2019, 4:24 AM

        @sdetweil

        Thanks for the answer, but only the error indication for the same problem

        S 1 Reply Last reply Nov 11, 2019, 5:26 AM Reply Quote 0
        • S Away
          sdetweil @daegon-jjiya
          last edited by Nov 11, 2019, 5:26 AM

          @daegon-jjiya can u show me the contents of ~/install.log please

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 1 Reply Last reply Nov 12, 2019, 3:51 AM Reply Quote 0
          • L Offline
            lavolp3 Module Developer
            last edited by Nov 11, 2019, 6:21 AM

            @daegon-jjiya sorry i cant find the Error in your post. Seems the mirror had been installed successfully.
            Have you fully followed the described procedure in the readme?
            Have you tried to actually run it?

            cd MagicMirror && npm start
            

            How to troubleshoot modules
            MMM-soccer v2, MMM-AVStock

            D 1 Reply Last reply Nov 12, 2019, 3:53 AM Reply Quote 0
            • D Offline
              daegon-jjiya @sdetweil
              last edited by Nov 12, 2019, 3:51 AM

              @sdetweil

              pi@raspberrypi:~ $
              pi@raspberrypi:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)”

              $$\ $$\ $$\ $$\ $$\ $$\ $$$$$$
              $$$\ $$$ | _| $$$\ $$$ |_| $$ $$
              $$$$\ $$$$ | $$$$$$\ $$$$$$\ $$\ $$$$$$$\ $$$$\ $$$$ |$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ _/ $$ |
              $$$$$$ $$ | _
              $$\ $$ $$\ $$ |$$ |$$$$$$ $$ |$$ |$$ $$\ $$ $$\ $$ $$\ $$ $$\ $$$$$$ |
              $$ $$$ $$ | $$$$$$$ |$$ / $$ |$$ |$$ / $$ $$$ $$ |$$ |$$ | _|$$ | _|$$ / $$ |$$ | _|$$ /
              $$ |$ /$$ |$$ __$$ |$$ | $$ |$$ |$$ | $$ |$ /$$ |$$ |$$ | $$ | $$ | $$ |$$ | $$ |
              $$ | _/ $$ |$$$$$$$ |$$$$$$$ |$$ |$$$$$$$\ $$ | _/ $$ |$$ |$$ | $$ | $$$$$$ |$$ | $$$$$$$$
              _
              | _
              | _
              | _
              $$ |_| _
              |_| _|_|_| __| _
              / _| _______|
              $$\ $$ |
              $$$$$$ |
              _
              ____/

              Updating packages …
              기존:1 http://archive.raspberrypi.org/debian buster InRelease
              받기:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
              받기:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
              내려받기 12.8 M바이트, 소요시간 36초 (352 k바이트/초)
              패키지 목록을 읽는 중입니다… 완료
              Installing helper tools …
              패키지 목록을 읽는 중입니다… 완료
              의존성 트리를 만드는 중입니다
              상태 정보를 읽는 중입니다… 완료
              build-essential is already the newest version (12.6).
              curl is already the newest version (7.64.0-4).
              git is already the newest version (1:2.20.1-2).
              unzip is already the newest version (6.0-23+deb10u1).
              wget is already the newest version (1.20.1-1.1).
              0개 업그레이드, 0개 새로 설치, 0개 제거 및 71개 업그레이드 안 함.
              Check current Node installation …
              Node currently installed. Checking version number.
              Minimum Node version: v5.1.0
              Installed Node version: v10.15.2
              No Node.js upgrade necessary.
              Check current NPM installation …
              NPM currently installed. Checking version number.
              Minimum npm version: V6.0.0
              Installed npm version: V6.13.0
              No npm upgrade necessary.
              Cloning MagicMirror …
              'MagicMirror’에 복제합니다…
              remote: Enumerating objects: 331, done.
              remote: Counting objects: 100% (331/331), done.
              remote: Compressing objects: 100% (295/295), done.
              remote: Total 331 (delta 40), reused 198 (delta 22), pack-reused 0
              오브젝트를 받는 중: 100% (331/331), 662.32 KiB | 785.00 KiB/s, 완료.
              델타를 알아내는 중: 100% (40/40), 완료.
              Cloning MagicMirror Done!
              Installing dependencies …
              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 @types/vfile-message@2.0.0: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.

              electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
              node ./download-chromedriver.js

              successfully dowloaded and extracted!

              electron@3.0.13 postinstall /home/pi/MagicMirror/node_modules/electron
              node install.js

              Downloading tmp-5191-1-SHASUMS256.txt-3.0.13
              [============================================>] 100.0% of 4.79 kB (4.79 kB/s)

              magicmirror@2.9.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 23.801s

              magicmirror@2.9.0 postinstall /home/pi/MagicMirror
              sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts

              We’ll remove from the repository the css/custom.css
              This script apply git update-index --skip-worktree css/custom.css
              rm ‘css/custom.css’
              MagicMirror installation successful!

              magicmirror@2.9.0 install-fonts /home/pi/MagicMirror
              cd fonts && npm install

              added 1 package from 1 contributor and audited 1 package in 7.296s
              npm WARN acorn-jsx@5.1.0 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.

              added 1062 packages from 1314 contributors and audited 3479 packages in 369.335s

              7 packages are looking for funding.
              Run “npm fund” to find out more.
              Dependencies installation Done!
              Check plymouth installation …
              Splashscreen: Checking themes directory.
              Splashscreen: Create theme directory if not exists.
              Splashscreen: Theme copied successfully.
              Splashscreen: Changed theme to MagicMirror successfully.
              Do you want use pm2 for auto starting of your MagicMirror (y/N)?n
              Do you want to disable the screen saver? (y/N)?y

              We’re ready! Run DISPLAY=:0 npm start from the ~/MagicMirror directory to start your MagicMirror.

              The screen is dark or flickers even if the magic mirror is triggered by npm war.

              Can I ignore it and move on to the next step?

              1 Reply Last reply Reply Quote 0
              • D Offline
                daegon-jjiya @lavolp3
                last edited by Nov 12, 2019, 3:53 AM

                @lavolp3 Yes, but no picture or flickers

                S L 2 Replies Last reply Nov 12, 2019, 3:55 AM Reply Quote 0
                • S Away
                  sdetweil @daegon-jjiya
                  last edited by Nov 12, 2019, 3:55 AM

                  @daegon-jjiya sounds like a bad hdmi cable

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    lavolp3 Module Developer @daegon-jjiya
                    last edited by lavolp3 Nov 12, 2019, 9:36 AM Nov 12, 2019, 9:35 AM

                    @daegon-jjiya the installation was successful. From the software side you don’t have any errors yet (only “warnings” from npm that can be ignored for now).
                    Flickering screen sounds like a hardware problem. How is your monitor connected?

                    Run

                    DISPLAY=:0 npm start
                    

                    as described and let us know what happens.

                    If it’s only a black screen after a minute or so run

                    npm start dev
                    

                    and let us know if there are errors coming up in your console.

                    How to troubleshoot modules
                    MMM-soccer v2, MMM-AVStock

                    D 1 Reply Last reply Nov 14, 2019, 3:59 AM Reply Quote 0
                    • D Offline
                      daegon-jjiya @lavolp3
                      last edited by Nov 14, 2019, 3:59 AM

                      @lavolp3

                      Ignored the error and finished the installation. However, after running the Magic Mirror, I want to test it, but as soon as the voice recognition function is turned on, it pops out and the following message appears.


                      pi@raspberrypi:~/MagicMirror $ npm start

                      magicmirror@2.9.0 start /home/pi/MagicMirror
                      sh run-start.sh

                      Starting MagicMirror: v2.9.0
                      Loading config …
                      Loading module helpers …
                      No helper found for module: alert.
                      Initializing new module helper …
                      Module helper loaded: updatenotification
                      No helper found for module: clock.
                      Initializing new module helper …
                      Module helper loaded: calendar
                      No helper found for module: compliments.
                      No helper found for module: currentweather.
                      No helper found for module: weatherforecast.
                      Initializing new module helper …
                      Module helper loaded: newsfeed
                      Initializing new module helper …
                      Module helper loaded: MMM-Hotword
                      Initializing new module helper …
                      Module helper loaded: MMM-AssistantMk2
                      All module helpers loaded.
                      Starting server on port 8080 …
                      Server started …
                      Connecting socket for: updatenotification
                      Connecting socket for: calendar
                      Starting node helper for: calendar
                      Connecting socket for: newsfeed
                      Starting module: newsfeed
                      Connecting socket for: MMM-Hotword
                      [HOTWORD] MMM-Hotword starts
                      Connecting socket for: MMM-AssistantMk2
                      Sockets connected & modules started …
                      Launching application.
                      Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
                      Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
                      [AMK2] Recipe is loaded: hide_and_show_all_modules.js
                      [AMK2] Recipe is loaded: reboot.js
                      [AMK2] Recipe is loaded: screen_onoff.js
                      [AMK2] Recipe is loaded: shutdown.js
                      [AMK2] Temporal storage directory is clearing.
                      [HOTWORD] begins.
                      [HOTWORD] Detector starts listening.
                      [HOTWORD] stops.
                      [HOTWORD] Final Result: { detected: false }
                      [HOTWORD] begins.
                      [HOTWORD] Detector starts listening.
                      [AMK2] assistant ready
                      /home/pi/MagicMirror/node_modules/electron/dist/electron js/electron.js: symbol lookup error: /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.0-linux-arm-glibc/grpc_node.node: undefined symbol: __atomic_store_8
                      npm ERR! code ELIFECYCLE
                      npm ERR! syscall spawn
                      npm ERR! file sh
                      npm ERR! errno ENOENT
                      npm ERR! magicmirror@2.9.0 start: sh run-start.sh
                      npm ERR! spawn ENOENT
                      npm ERR!
                      npm ERR! Failed at the magicmirror@2.9.0 start script.
                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

                      npm ERR! A complete log of this run can be found in:
                      npm ERR! /home/pi/.npm/_logs/2019-11-14T03_53_11_525Z-debug.log

                      I tried translating but it doesn’t make sense. If you know how, please answer.

                      S 1 Reply Last reply Nov 14, 2019, 4:01 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        4/19
                        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