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.

    I Need your Help

    Scheduled Pinned Locked Moved Solved General Discussion
    16 Posts 3 Posters 6.7k Views 3 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.
    • ? Offline
      A Former User @Nawid
      last edited by A Former User

      @Nawid
      In which directory, did you command?

      cd ~
      pm2 start mm.sh
      

      Or

      cd ~/MagicMirror
      npm start
      

      Try them.

      1 Reply Last reply Reply Quote 0
      • N Offline
        Nawid
        last edited by

        @sean cd ~/MagicMirror

        MagicMirror doesen’t find my config.js file. I do it how MichMich explained for beginners, but MagiMirror told me every time create a config file.

        ? 2 Replies Last reply Reply Quote 0
        • ? Offline
          A Former User @Nawid
          last edited by

          @Nawid

          cd ~/MagicMirror/config
          ls -al
          

          What is the result of above?

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @Nawid
            last edited by

            @Nawid
            It seems you’d missed something in installation steps.

            cd ~/MagicMirror
            npm install
            

            Or just begin from first again.

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @Guest
              last edited by Mykle1

              @Sean

              If MM is reporting “Create a config” then isn’t his installation ok?

              Create a working config
              How to add modules

              ? 1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User @Mykle1
                last edited by

                @Mykle1
                I don’t know exactly. Frankly said, I recommend install again from begining.

                1 Reply Last reply Reply Quote 0
                • N Offline
                  Nawid
                  last edited by

                  i do it often from begining, but every time the same problem with the config file. I start from the begining again.

                  1. Install Rasbian
                  2. rasbian configuration for the magicmirror
                  3. install MagicMirror
                  4. copy and past the config file and rename it.
                  5. Test number 100.000.000.000 -.-

                  if you have a better step than tell it me

                  ? 1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @Nawid
                    last edited by A Former User

                    @Nawid
                    There are too many points to guess which is the exact reason of your problem.

                    1. Make all the things clearly. All of these might not be related to your real problem, but it might be help or not. Since we cannot inspect your environment, so more detailed information would be better to guess.
                    • which rpi do you have? rpi 3 model B ?
                    • which OS do you use? Jessie? Jessie Lite? Stretch? Armbian? or any other things?
                    • Did you change your account from pi(or any default account) to anything else? In that case, did you give proper permission for that account?
                    • how do you install MagicMirror? manually? or Automatic installer? Have you got any suspicious messages during installation? MM needs so many dependencies, all of the dependencies should be installed properly.
                    • how do you connect to your machine for running MM? via SSH? or direct connect to RPI with keyboard and mouse?
                    • how do you execute your MM? autostart with pm2 or other way to use npm?
                    • Have you tried npm run config:check? what is the result?
                    1. Your first article about error logs seems not to be related config.js missed.
                      When config.js is missed, the error logs will be like these something;
                    > magicmirror@2.1.3 start /Users/eouia/Documents/nodeJS/MagicMirror
                    > sh run-start.sh "dev"
                    
                    Starting MagicMirror: v2.1.3
                    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.
                    

                    But your logs were showing that you had something wrong with your installation. So, why do you think this is config missing?

                    1 Reply Last reply Reply Quote 1
                    • N Offline
                      Nawid
                      last edited by Nawid

                      i have

                      • rpi 3 model b
                      • OS Stretch
                      • i change nothing with the account
                      • I install magicmirror Automatic installer, yes he shows a suspicious messages today if i install magicmirror automatic. He say “Unable to install dependencies” at the end after the error wich i wirte yetesday.
                      • conncect it the machine direct to RPI with Keyboard an mouse

                      I think it i had the problem because he displays the error message " Unable to install dependencies".

                      electron@1.7.9 postinstall ‘node install.js’ he can’t intall this

                      ERROR: read ECONNRESET
                      at exports._errnoException (util.js:1020:11)
                      at TLSWrap.onread (net.js:568:26)

                      What can i do now?

                      ? 1 Reply Last reply Reply Quote 0
                      • ? Offline
                        A Former User @Nawid
                        last edited by

                        @Nawid
                        Ok. We can step forward somehow.
                        I’m not using Stretch so i cannot assure, but as i know, there is some problem for auto installation with Stretch. You can get detailed info by searching for it.
                        I suggest you to install Mm and dependencies manually instead of auto installer.

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