-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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.js issue #577
Comments
@raspberrysauce Which RPi are you running? One, two, or three? |
Pi 3!
…On Dec 23, 2016 1:35 PM, "Nicholas Hubbard" ***@***.***> wrote:
@raspberrysauce <https://github.com/raspberrysauce> Which RPi are you
running? One, two, or three?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#577 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXlDZW-8iYhqP2i5iXrQoMqOhBlZ6nX6ks5rLBSAgaJpZM4LUckn>
.
|
I am getting the same error messages using Pi 2 Model B v1.1 |
I also have the same problem on my Pi 3 Model B with the same build process. |
Maybe related with #575 |
@raspberrysauce : I'm just trying MagicMirror2 few days ago, and have same problem. Seems like it failed to built electron. If you install it from curl, and failed, cd ~/MagicMirror
nano package.json Change grunt dependency "devDependencies": {
"grunt":"~0.4.0", reinstall dependency, and then built electron cd ~/MagicMirror
npm install
cd ~/MagicMirror/node_modules/electron-prebuilt/
node install.js this will take a long time, and finally cd ~/MagicMirror
npm start |
My issue is fixed. Raspian lite doesn't come with x11 installed :/ so no gui means no worky. |
Thank you @frdteknikelektro. This fixed my issue. |
I realized it doesn't work through SSH. When I ran it directly from the pi
terminal it worked just fine
Very strange ! For now , I'm going to continue running it directly .
…On Jan 7, 2017 11:40 PM, "mzawlocki" ***@***.***> wrote:
Thank you @frdteknikelektro <https://github.com/frdteknikelektro>. This
fixed my issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#577 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXlDZRgoi63Z9wCOF6uwFjwJ7hOui6Efks5rQGjXgaJpZM4LUckn>
.
|
Seems like new release v2.1.0 has fixed this issue, better to close this issue. Happy new year! (?) it says
|
Does anything have to change in the install to include the new release - I did an install yesterday using the jessielite install guide, it installedl the new 2.1.0; yet I'm getting this ELIFECYCLE error on electron.js |
@RBM-PITT Are you try this guide Jessie-Lite-Installation-Guide? |
... and ... please check this comment #145 (comment) |
Roramirez - thank you for the reply. Yes - I used the Jessie-Lite-Installation-Guide. I read the comment #145 and decided to try the full install from this tutorial: I was successful getting it to run with the full install. I look forward to learning more about this application and building my magic mirror! |
@raspberrysauce through SSH you need run So, this issue it seems need to close. |
Hello, I have the same issue : npm ERR! Please include the following file with any support request: I followed the automatic installation procedure, on a raspberry 3 with the last Raspbian Jessie. Can anyone help me? |
@simplearetenir What version of Jessie are you running? Maybe we should include a test in the Installer to check of it's the right OS (no Jessie Lite), to make sure everything is ok ... @roramirez Are you interested in setting this up? |
Hi I'm not sure its related... I've been trying Magic Mirror on Xubuntu 16.10 with the 'serveronly' option and found that the debian package was out of date in terms of npm version. As the raspberry Pi is also debian based (I think) then could try installing 7.4 another way. I found that uninstalling npm then using the Node.js v7 way here: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions - worked for me to get MM up and running. Thus, just the lines:
I only have a Pi B+ so not tried on that yet. |
@MichMich : I run the last version of Jessie (no Jessie lite) |
Yes @MichMich I can do it. |
To remember me... please reopen it and assign to me. |
@roramirez Somehow GitHub wont let me assign it to you. |
@MichMich I think you can only assign to collaborators or whatever they are called. Or @roramirez can do it by himself I think. Source |
Yes, only can set to collaborators or by default user who is open the issue. It's enough with open state with this I can remember ;) |
Ran into the same problem earlier, my solution to it was to just add "sudo" before the actual installer
|
I can not do it :
And I always get the same error : npm ERR! Please include the following file with any support request: Can anyone do the test with the latest version of Jessie? |
Maybe someone can share with me a backup of an SD card with MM running on a PI3 |
What Raspberry ISO did you download? |
@roramirez RASPBIAN JESSIE WITH PIXEL : https://www.raspberrypi.org/downloads/raspbian/ |
I just already finished a test on Jessie Little. About of HowTo Jessie Lite Installation Guide I think is missing some packages to install, I added these : The log trace about the process, but curious can find in Pastebin http://pastebin.com/YBDW2CB7 |
... so, I'll hope soon finish the test for RASPBIAN JESSIE WITH PIXEL |
Ok, I tested the Raspbian with Pixel and MagicMirror work by default with the script of installation Raspbian with Pixel Can find the log of the all process here: http://pastebin.com/8ftthQqf Two thing, if used Jessie Little feel free to follow https://github.com/MichMich/MagicMirror/wiki/Jessie-Lite-Installation-Guide If MagicMirror not work for you can be two things. 1.-) X windows system of Debian is not working or not installed. This is required if dont use the serveronly mode. If you can execute the MagicMirror on terminal by SSH session, must be run LIKE THIS The Pull Request #652 fixed and prevent this problem. For future instalations if not set the DISPLAY the script will do it for you. I've testing Raspbian with Pixel and Little, Release date: 2017-01-11 and all worked. @MichMich Please close the issue after close the Pull request. |
@roramirez : I followed the tutorial for Jessie Lite and it works correctly, thank you very much. Just one thing: the screen saver does not disable (perhaps due to the addition of xinit xserver-xorg). I think I know why, I could not make it work with Jessie with Pixel : I started the "npm start" from the raspberry command line and not from a command line from PIXEL. |
@simplearetenir if you remove xscreensaver? or remove by desktop setting into Pixel |
Same problem like @simplearetenir. I follow the Jessie Lite Installation guide and it works correctly but the screensaver doesn't disable with : @xset s noblank into etc/xdg/lxsession/LXDE/autostart and : xserver-command=X -s 0 -dpms into /etc/lightdm/lightdm.conf Any idea ? |
Problem solved. |
@celianmissud Please add note in wiki to help new users. |
I keep getting the following error when trying to run my MM. I've updated everything multiple times.
pi@HamsMagicMirror:~/MagicMirror $ npm start
npm ERR! Linux 4.4.38-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v7.3.0
npm ERR! npm v3.10.10
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
The text was updated successfully, but these errors were encountered: