• 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

Scheduled Pinned Locked Moved General Discussion
29 Posts 6 Posters 18.9k Views 5 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
    moris
    last edited by Oct 28, 2016, 10:03 PM

    Ok the problem with config.js is allright. I have write samaple the wrong. With sample is korrekt. But npm start have the same problem. Display Rotate. Why the error ?

    1 Reply Last reply Reply Quote 0
    • L Offline
      leisi
      last edited by Oct 28, 2016, 10:49 PM

      Uahahha, i´ve the same or a similar problem:

      Hardware: Pi3 with following error, Please help me, whats the problem with my mirror?
      I can´t open the config/config.js file for editing and add. i get this error while npm start:
      (An answer in german would be nice, thanks)

      pi@magicmirror:~/MagicMirror $ git pull
      Already up-to-date.
      pi@magicmirror:~/MagicMirror $ git status
      Auf Branch master
      Ihr Branch ist auf dem selben Stand wie ‘origin/master’.
      nichts zu committen, Arbeitsverzeichnis unverändert
      pi@magicmirror:~/MagicMirror $ cp config/config.js.sample config/config.js
      pi@magicmirror:~/MagicMirror $ npm start

      magicmirror@2.0.0 start /home/pi/MagicMirror
      electron js/electron.js

      npm ERR! Linux 4.4.26-v7+
      npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “start”
      npm ERR! node v6.9.1
      npm ERR! npm v3.10.8
      npm ERR! code ELIFECYCLE
      npm ERR! magicmirror@2.0.0 start: electron js/electron.js
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.0.0 start script ‘electron js/electron.js’.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, this is most likely a problem with the magicmirror package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR! electron js/electron.js
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR! npm bugs magicmirror
      npm ERR! Or if that isn’t available, you can get their info via:
      npm ERR! npm owner ls magicmirror
      npm ERR! There is likely additional logging output above.

      npm ERR! Please include the following file with any support request:
      npm ERR! /home/pi/MagicMirror/npm-debug.log

      L 1 Reply Last reply Oct 28, 2016, 10:52 PM Reply Quote 0
      • L Offline
        leisi @leisi
        last edited by Oct 28, 2016, 10:52 PM

        @leisi said in Please help:

        Uahahha, i´ve the same or a similar problem:

        Hardware: Pi3 with following error, Please help me, whats the problem with my mirror?
        I can´t open the config/config.js file for editing and add. i get this error while npm start:
        (An answer in german would be nice, thanks)

        pi@magicmirror:~/MagicMirror $ git pull
        Already up-to-date.
        pi@magicmirror:~/MagicMirror $ git status
        Auf Branch master
        Ihr Branch ist auf dem selben Stand wie ‘origin/master’.
        nichts zu committen, Arbeitsverzeichnis unverändert
        pi@magicmirror:~/MagicMirror $ cp config/config.js.sample config/config.js
        pi@magicmirror:~/MagicMirror $ npm start

        magicmirror@2.0.0 start /home/pi/MagicMirror
        electron js/electron.js

        npm ERR! Linux 4.4.26-v7+
        npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “start”
        npm ERR! node v6.9.1
        npm ERR! npm v3.10.8
        npm ERR! code ELIFECYCLE
        npm ERR! magicmirror@2.0.0 start: electron js/electron.js
        npm ERR! Exit status 1
        npm ERR!
        npm ERR! Failed at the magicmirror@2.0.0 start script ‘electron js/electron.js’.
        npm ERR! Make sure you have the latest version of node.js and npm installed.
        npm ERR! If you do, this is most likely a problem with the magicmirror package,
        npm ERR! not with npm itself.
        npm ERR! Tell the author that this fails on your system:
        npm ERR! electron js/electron.js
        npm ERR! You can get information on how to open an issue for this project with:
        npm ERR! npm bugs magicmirror
        npm ERR! Or if that isn’t available, you can get their info via:
        npm ERR! npm owner ls magicmirror
        npm ERR! There is likely additional logging output above.

        npm ERR! Please include the following file with any support request:
        npm ERR! /home/pi/MagicMirror/npm-debug.log

        add. applies my display_rotate file is correct, without the “:”:
        “/boot/config.txt should only have =1 and not =:1 for the display_rotate command.”

        1 Reply Last reply Reply Quote 0
        • D Offline
          darrene
          last edited by darrene Oct 28, 2016, 11:05 PM Oct 28, 2016, 11:05 PM

          have you tried a sudo apt-get update ?
          It might be worth giving that a try - afterwards, reboot then try re-running npm start again

          L 1 Reply Last reply Oct 28, 2016, 11:11 PM Reply Quote 0
          • L Offline
            leisi @darrene
            last edited by Oct 28, 2016, 11:11 PM

            @darrene said in Please help:

            sudo apt-get update

            After the sudo apt-get update again i get following error again:
            (connection via SSH from Mac / my OS is Raspbian Jessie)

            pi@magicmirror:~ $ cd MagicMirror
            pi@magicmirror:~/MagicMirror $ npm start

            magicmirror@2.0.0 start /home/pi/MagicMirror
            electron js/electron.js

            npm ERR! Linux 4.4.26-v7+
            npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “start”
            npm ERR! node v6.9.1
            npm ERR! npm v3.10.8
            npm ERR! code ELIFECYCLE
            npm ERR! magicmirror@2.0.0 start: electron js/electron.js
            npm ERR! Exit status 1
            npm ERR!
            npm ERR! Failed at the magicmirror@2.0.0 start script ‘electron js/electron.js’.
            npm ERR! Make sure you have the latest version of node.js and npm installed.
            npm ERR! If you do, this is most likely a problem with the magicmirror package,
            npm ERR! not with npm itself.
            npm ERR! Tell the author that this fails on your system:
            npm ERR! electron js/electron.js
            npm ERR! You can get information on how to open an issue for this project with:
            npm ERR! npm bugs magicmirror
            npm ERR! Or if that isn’t available, you can get their info via:
            npm ERR! npm owner ls magicmirror
            npm ERR! There is likely additional logging output above.

            npm ERR! Please include the following file with any support request:
            npm ERR! /home/pi/MagicMirror/npm-debug.log
            pi@magicmirror:~/MagicMirror $

            L K 2 Replies Last reply Oct 28, 2016, 11:15 PM Reply Quote 0
            • L Offline
              leisi @leisi
              last edited by Oct 28, 2016, 11:15 PM

              @leisi said in Please help:

              @darrene said in Please help:

              sudo apt-get update

              After the sudo apt-get update again i get following error again:
              (connection via SSH from Mac / my OS is Raspbian Jessie)

              pi@magicmirror:~ $ cd MagicMirror
              pi@magicmirror:~/MagicMirror $ npm start

              magicmirror@2.0.0 start /home/pi/MagicMirror
              electron js/electron.js

              npm ERR! Linux 4.4.26-v7+
              npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “start”
              npm ERR! node v6.9.1
              npm ERR! npm v3.10.8
              npm ERR! code ELIFECYCLE
              npm ERR! magicmirror@2.0.0 start: electron js/electron.js
              npm ERR! Exit status 1
              npm ERR!
              npm ERR! Failed at the magicmirror@2.0.0 start script ‘electron js/electron.js’.
              npm ERR! Make sure you have the latest version of node.js and npm installed.
              npm ERR! If you do, this is most likely a problem with the magicmirror package,
              npm ERR! not with npm itself.
              npm ERR! Tell the author that this fails on your system:
              npm ERR! electron js/electron.js
              npm ERR! You can get information on how to open an issue for this project with:
              npm ERR! npm bugs magicmirror
              npm ERR! Or if that isn’t available, you can get their info via:
              npm ERR! npm owner ls magicmirror
              npm ERR! There is likely additional logging output above.

              npm ERR! Please include the following file with any support request:
              npm ERR! /home/pi/MagicMirror/npm-debug.log
              pi@magicmirror:~/MagicMirror $

              reboot would naturally also done after the update…

              1 Reply Last reply Reply Quote 0
              • K Offline
                KirAsh4 Moderator @leisi
                last edited by Oct 29, 2016, 5:12 AM

                @leisi said in Please help:

                @darrene said in Please help:

                sudo apt-get update

                After the sudo apt-get update again i get following error again:
                (connection via SSH from Mac / my OS is Raspbian Jessie)

                pi@magicmirror:~ $ cd MagicMirror
                pi@magicmirror:~/MagicMirror $ npm start

                I lost count on how many times this has come up already. You can not start the mirror using that command when you are remotely SSHd into the rpi. The rpi simply does not know what monitor to use, yours, or the one connected to it. You have to tell it that:

                DISPLAY=:0 npm start

                Use the correct command, and then figure out what the problems are.

                A Life? Cool! Where can I download one of those from?

                L 1 Reply Last reply Oct 29, 2016, 7:44 PM Reply Quote 1
                • L Offline
                  leisi @KirAsh4
                  last edited by Oct 29, 2016, 7:44 PM

                  @KirAsh4 oh fucking, yes, you´re right, thanks very much for your help.

                  C 1 Reply Last reply Oct 29, 2016, 9:11 PM Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer @leisi
                    last edited by Oct 29, 2016, 9:11 PM

                    @leisi said in Please help:

                    @KirAsh4 oh fucking, yes, you´re right, thanks very much for your help.

                    While I find it humorous please be careful with replies… we don’t know how many youngsters we have roaming around here. Appreciate it! :)

                    L 1 Reply Last reply Oct 29, 2016, 9:31 PM Reply Quote 0
                    • L Offline
                      leisi @cowboysdude
                      last edited by Oct 29, 2016, 9:31 PM

                      @cowboysdude ok, pardon, my mistkake, i´ll do it next time, i´m so proud of my new magicmirror…

                      C 1 Reply Last reply Oct 30, 2016, 12:49 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        15/29
                        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