-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Electron not starting on Raspberry Pi #145
Comments
Strange, maybe try |
I've tried the Electron Quick Start, but that seems to have the same issue. I opened an issue in the Electron repository: electron/electron#5069 |
That's odd. Never have I seen a Node app that crashes without a stack trace. |
It doesn't even seem to crash. It exits with code 0. But it's an Raspberry Issue, since the Electron Quick Start does the same. |
Strange, that it works without any Problems for me...
|
@paviro Which RPi are you using? 2 or 3? On the Electron issue they said it had something to do with the RPi type: electron/electron#5069 |
Pi 2 with Jessie.
|
That's strange indeed. I'm using the same Pi. :-/ |
Yeah figured so, that's what I don't get... Does not make any sense.
|
@pavario, so I did another reinstall. Again without succes. Besides the magic mirror installer, I did not run any other installers. I'm running: 2016-03-18-raspbian-jessie Any differences between the above and your situation? |
Seems to be the same thing I did. Well I installed |
Same problem with v4.0.0. But how can it be that you are running v4.0.0 if you used the installer? |
There was no installer when I installed it but I did the same things the installer does just with the older node version. |
If you have an empty card laying around, would you mind trying the installer on a clean jessie installation? |
I'll see if I find one :) |
Fun fact! I just put the same SD-card into a Pi3. Tried |
in regards to the installer, this is how i installed node ( before i realized there was an installer ) |
@pvyParts: and does the MM run on a RPi2 in your case? |
it did when i had one (read till few days ago) i blew mine up tho unfortunately so i'm only on a 3 now. |
Interesting! Thanks for letting me know. |
I have the same issue on a Pi B+ running Jessie |
I tried it yesterday on a different Pi 2, and that one worked. I've got no clue yet on the reason. |
Could the Pi be bad? We might want to involve @raspberrypi to see if the issues are related. |
Nope, it seems like a electron issue. If you run |
I have the same problems with the PI 1.. |
prompt it boots into - doesnt work |
That's the expected result. Electron (In which MagicMirror runs) is a GUI application, so it needs a GUI environment. It can't start that environment for you. |
Ah - thanks. Seems obvious in hindsight - thats what the Auto start instructions were for. |
markbarton/michmich |
Hi, It wasnt a bug - it was my lack of understanding :-) You need to use PM2 - which is a nodejs Package Manager to provide the Its pretty straight forward to use. Mark On 18 June 2016 at 09:45, sundaytill [email protected] wrote:
|
@sundaytill This doesn't seem related to this issue. Please open a support question in http://forum.magicmirror.builders Thanks! |
Hi On Saturday, June 18, 2016, markbarton [email protected] wrote:
|
Any update on the issue in the op? Seems the thread got a bit sidetracked ;) After launching something on DISPLAY=:0 I also launched a second one on DISPLAY=:1. This triggered the original electron window to open up for whatever reason |
Yeah the OP is solved a while ago. Had something to do with an older Electron version. Not relevant anymore. |
Still getting the issue on a Raspberry Pi 3. The auto-install script happens to mention this as well:
I then ran...
Still getting the issue. This is on a Raspberry Pi 3 with a clean install of Raspbian, all updated. Full error on doing npm start in /MagicMirror..
EDIT: Since it mentions including the contents of npm.debug.log...
|
Could you give this repo a try to see if electron works at all? https://github.com/electron/electron-quick-start |
Same results it looks like:
Results from the npm-debug.log:
|
I have the same error with: npm ERR! node v6.9.1 node serveronly is running but PM2 not. [STREAMING] Now streaming realtime logs for [all] processes |
@BlindArrow Please open an issue in the electron repository. |
I've got the same issues, fresh installed OS, cloned your repo - but electron doesn't work. Neither the quick-start. I've receive the same messages like above. Think we have to wait for a fix by electron. |
It was a permission problem. Now everything works |
Allright, I will have look at this. Do you have a hint which permissions caused the error (on the first look its looks fine) Thanks anyway for your feedback. Btw really strange is: On the serveronly mode it works over the browser (well with some errors but the display and "default" modules like wheater and RSS works). So that looks like it must be the permissions of electron... |
I also have the same problem on the current jessie lite and raspi 3. I am working on a Mac with El Capitan and XQuartz as Xserver. If I am using ssh -X .... it is running without any problems. Maybe this helps. EDIT: And after using the manual https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror it also worked at the ssh terminal. |
Hi guys, I had this exact issue since this morning: make sure you have libgconf-2-4 and libxss1. I don't know how I figured this out but I installed those two and know in my RPi 2 MagicMirror runs perfectly |
I get all work with a fresh new Raspbian Jessie install and running all the install since from the beggining in my RPI3 and worked like a charm. Even though the grunt still warns me about not being installed. |
Cheers mates. Today i tryed to install the MM for the first time. I am using the Raspberry Pi 3 Model B. |
Hi. |
raspberry pi3 freeze and mm not work |
@casus90 i got the same issue, but did not had patince to wait node-gyup rebuild... I just edited package.json to 'update' electron version, In dependencies section (line 57) , update electron version from ^1.6.10"to '^1.7.9' and sounds good. (no checked everything but install and start is OK) Hope it helps |
I had the same issue on my Raspberry Pi 2 with a fresh install and after upgrading. Nothing above seemed to work. I tried running:
Both failed for me due to permissions issue.
|
Using latest Raspbian Stretch with ( |
Cheers, I am sorry for my late response! I finally found some time to try it again. Best, |
I just installed a Raspberry Pi with a clean Jessie installation to give MM2 a try.
Unfortunately, the app will not start, and doesn't give any errors of feedback.
See image below. Any ideas, @paviro & @nhubbard?
The text was updated successfully, but these errors were encountered: