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.

    The MMM-Tools V2 doesn’t work

    Scheduled Pinned Locked Moved Troubleshooting
    9 Posts 2 Posters 1.1k Views 2 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.
    • PeterPangP Offline
      PeterPang
      last edited by

      he MMM-Tools V2 doesn’t work** , showed as below :

      pi@raspberrypi:~ $ cd [YourMagicMirrorDirectory]/modules
      bash: cd: [YourMagicMirrorDirectory]/modules: No such file or directory
      pi@raspberrypi:~ $ git clone https://github.com/eouia/MMM-Tools
      Cloning into ‘MMM-Tools’…
      remote: Enumerating objects: 5, done.
      remote: Counting objects: 100% (5/5), done.
      remote: Compressing objects: 100% (5/5), done.
      remote: Total 471 (delta 0), reused 0 (delta 0), pack-reused 466
      Receiving objects: 100% (471/471), 291.40 KiB | 429.00 KiB/s, done.
      Resolving deltas: 100% (271/271), done.
      pi@raspberrypi:~ $ npm start dev
      npm ERR! code ENOENT
      npm ERR! syscall open
      npm ERR! path /home/pi/package.json
      npm ERR! errno -2
      npm ERR! enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
      npm ERR! enoent This is related to npm not being able to find a file.
      npm ERR! enoent

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2021-02-08T09_12_00_398Z-debug.log
      pi@raspberrypi:~ $

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @PeterPang
        last edited by sdetweil

        @peterpang rihgt. you misunderstood the instructions

        the first command is
        cd [yourMagicMirrordirectory]/modules
        which means, replace [yourMagicMirrordirectory] with the name of your installation folder as u can nsme it anything

        which would typically be

        cd ~/MagicMirror/modules

        and then the module install git clone

        and the start. it needs to be done in the ~/MagicMirror folder too

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        PeterPangP 2 Replies Last reply Reply Quote 0
        • PeterPangP Offline
          PeterPang @sdetweil
          last edited by

          @sdetweil
          Thankyou , do it later ^^

          1 Reply Last reply Reply Quote 0
          • PeterPangP Offline
            PeterPang @sdetweil
            last edited by

            @sdetweil
            Can I just use the module name , such as MMM-Tools V2 to replace ?

            $ cd [YourMagicMirrorDirectory]/modules
            CHANGE TO
            $ cd MMM-Tools V2/module

            like this ?

            S 1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @PeterPang
              last edited by

              @peterpang no. you need to be in ~/MagicMirror/modules
              then
              git clone …module_url
              cd MMM-Tools
              npm install
              cd ~/MagicMirror
              npm start

              read the two links in my signature, practice

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              PeterPangP 2 Replies Last reply Reply Quote 0
              • PeterPangP Offline
                PeterPang @sdetweil
                last edited by

                @sdetweil
                OK , I try again , thanks !

                1 Reply Last reply Reply Quote 0
                • PeterPangP Offline
                  PeterPang @sdetweil
                  last edited by

                  @sdetweil
                  Still not work on my screen =,="

                  1. cd ~/MagicMirror/modules
                    2)git clone https://github.com/bugsounet/MMM-Tools
                    3)cd MMM-Tools
                    4)npm install
                    5)cd ~/MagicMirror
                    6)npm start
                    then she run automatic …
                    I see one row said :

                  [10.02.2021 10:29.43.540] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently “false”. It will change to be “true” in Electron 9. For more information please check https://github.com/electron/electron/issues/18397

                  PeterPangP 1 Reply Last reply Reply Quote 0
                  • PeterPangP Offline
                    PeterPang @PeterPang
                    last edited by

                    @peterpang
                    The main reason just my stupid , forgot to add the scripts into config.js

                    S 1 Reply Last reply Reply Quote 0
                    • S Away
                      sdetweil @PeterPang
                      last edited by

                      @peterpang glad you found it!..

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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