• 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 @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 Offline
        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
            • S Offline
              sdetweil @daegon-jjiya
              last edited by Nov 14, 2019, 4:01 AM

              @daegon-jjiya said in Please help me...........:

              __atomic_store_8

              see this reply for the steps to recover… one of the libraries that module uses has a bug

              https://forum.magicmirror.builders/topic/11430/error-when-trying-to-run-mmm-assistantmk2/5

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 2 Replies Last reply Nov 14, 2019, 4:14 AM Reply Quote 0
              • D Offline
                daegon-jjiya @sdetweil
                last edited by Nov 14, 2019, 4:14 AM

                @sdetweil Thank you for answer. We are going to the link you tell us.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  daegon-jjiya @sdetweil
                  last edited by daegon-jjiya Nov 15, 2019, 12:32 AM Nov 15, 2019, 12:31 AM

                  @sdetweil

                  I tried using the link above, but when I ran Red text and Magic Mirror, the following characters were displayed and the Magic Mirror screen did not appear.


                  pi@raspberrypi:~ $ cd MagicMirror
                  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
                  WARNING! Could not load config file. Starting with default configuration. Error found: Error: Failed to load gRPC binary module because it was not installed for the current system
                  Expected directory: electron-v3.0-linux-arm-glibc
                  Found: [node-v64-linux-arm-glibc]
                  This problem can often be fixed by running “npm rebuild” on the current system
                  Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.0-linux-arm-glibc/grpc_node.node’

                  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
                  App threw an error during load
                  Error: Failed to load gRPC binary module because it was not installed for the current system
                  Expected directory: electron-v3.0-linux-arm-glibc
                  Found: [node-v64-linux-arm-glibc]
                  This problem can often be fixed by running “npm rebuild” on the current system
                  Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.0-linux-arm-glibc/grpc_node.node’
                  at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17)
                  at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:64:3)
                  at Module._compile (internal/modules/cjs/loader.js:711:30)
                  at Object.Module._extensions…js (internal/modules/cjs/loader.js:722:10)
                  at Module.load (internal/modules/cjs/loader.js:620:32)
                  at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
                  at Function.Module._load (internal/modules/cjs/loader.js:551:3)
                  at Module.require (internal/modules/cjs/loader.js:658:17)
                  at require (internal/modules/cjs/helpers.js:20:18)
                  at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:144:12)
                  Whoops! There was an uncaught exception…
                  { Error: Failed to load gRPC binary module because it was not installed for the current system
                  Expected directory: electron-v3.0-linux-arm-glibc
                  Found: [node-v64-linux-arm-glibc]
                  This problem can often be fixed by running “npm rebuild” on the current system
                  Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v3.0-linux-arm-glibc/grpc_node.node’
                  at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17)
                  at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:64:3)
                  at Module._compile (internal/modules/cjs/loader.js:711:30)
                  at Object.Module._extensions…js (internal/modules/cjs/loader.js:722:10)
                  at Module.load (internal/modules/cjs/loader.js:620:32)
                  at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
                  at Function.Module._load (internal/modules/cjs/loader.js:551:3)
                  at Module.require (internal/modules/cjs/loader.js:658:17)
                  at require (internal/modules/cjs/helpers.js:20:18)
                  at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:144:12) code: ‘MODULE_NOT_FOUND’ }
                  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                  Launching application.
                  Shutting down server…
                  Stopping module helper: updatenotification
                  Stopping module helper: calendar
                  Stopping module helper: newsfeed
                  Stopping module helper: MMM-Hotword
                  Stopping module helper: updatenotification
                  Stopping module helper: calendar
                  Stopping module helper: newsfeed
                  Stopping module helper: MMM-Hotword
                  pi@raspberrypi:~/MagicMirror $


                  I think you need to know the order in order to follow the link mentioned above.

                  If you have time, can you easily arrange the order of installing Magic Mirror MMM-HOTWARD and MMM-AssistantMK2?

                  For the first time, it’s all new and hard But I want to finish it.

                  You can only imitate while watching YouTube videos. But I want to give me and my children a new experience.

                  please …

                  • raspberry pi 3+

                  • Raspbian Buster with desktop and recommended software 2019-09-26

                  • Work directly on the board rather than remotely

                  • The above specification is the environment I am working on.

                  S Mykle1M 2 Replies Last reply Nov 15, 2019, 12:47 AM Reply Quote 0
                  • S Offline
                    sdetweil @daegon-jjiya
                    last edited by sdetweil Nov 15, 2019, 12:47 AM Nov 15, 2019, 12:47 AM

                    @daegon-jjiya

                    did you do this step

                    This problem can often be fixed by running “npm rebuild” on the current system

                    cd ~/MagicMirror
                    npm rebuild
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    D 2 Replies Last reply Nov 15, 2019, 2:54 AM Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @daegon-jjiya
                      last edited by Nov 15, 2019, 1:22 AM

                      @daegon-jjiya

                      Please read this. Many thanks.

                      https://forum.magicmirror.builders/topic/4247/how-to-post-code-on-the-forum-for-absolute-beginners

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        10/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