Read the statement by Michael Teeuw here.
Electron install dificulties
-
npm install fails because of npm not installed…fixed that from another forum. installed npm manually
first an pi4, but I its too slow and it should work with any linux.
So now I am running on virtual box x86 raspbian latest, then switched to vmware pro 15.
THey all have the same problem
Then npm start or npm run start> magicmirror@2.14.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js sh: 1: ./node_modules/.bin/electron: not found npm ERR! code 127 npm ERR! path /home/pi/MagicMirror npm ERR! command failed npm ERR! command sh -c DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
/rant
Having all kinds of install problems from the very beginning. squashing errors all left and right from different forums. But magicmirrors forum has been useless.
I am sure everyone being able to register and post on this forum is quite capable of copy and paste commands from chromium. But the forum seems intent on not really helping anyone. They just say ohh suffer a little and read.
That is the common mantra, Ive read that over and over again since I started with BSD had to partition (slice) by hand, then build a xorg config file from scratch. Then compile kernel modules to run binary blob drivers just to get compiz to run and enjoy woflstein enemy territory.
But this is obviously not working, electron is no longer supported on 32 bit system and the nature of repos is that you have all kids of dependency errors from having to rely on dependencies…
So telling people to get support from electron is not happening# Clone the Quick Start repository $ git clone https://github.com/electron/electron-quick-start # Go into the repository $ cd electron-quick-start # Install the dependencies and run $ npm install && npm start
-
@missingxtension nice…
i have worked with a couple other people that have had similar problems, and have opened an issue with node,
https://github.com/nodejs/help/issues/3277as they are reporting 32 bit on an x86_64 system …
then electron install gets all messed up…i fixed my installer to handle this problem…
see https://github.com/sdetweil/MagicMirror_scriptsrapid support (hours/days) support cycle from electron or node is unlikely… electron has over 1000 issues…
-
@sdetweil said in Electron install dificulties:
i have worked with a couple other people that have had similar problems, and have opened an issue with node,
I already went to your github script and no luck. I also had to sudo apt-get install sh for some weird reason and that got me a little further along.
I do keep snapshots at key point and finally I ran your script again and that was what made it work. Although initially it just keep loading multiple MM instances.
But that got sorted out now!!! I got a full magic mirror install.
Thank you very much!! You give me some valuable information Mainly I know i am not crazy and you put my mind at ease. Well at least a little less crazy:face_with_raised_eyebrow:
Ill try to post the screenshot of the multiple instances. Luckily I am handy with the alt+f4 keys. -
@missingxtension said in Electron install dificulties:
Although initially it just keep loading multiple MM instances.
i would like to see that
-
-
@missingxtension said in Electron install dificulties:
Having all kinds of install problems from the very beginning. squashing errors all left and right from different forums. But magicmirrors forum has been useless.
I am sure everyone being able to register and post on this forum is quite capable of copy and paste commands from chromium. But the forum seems intent on not really helping anyone. They just say ohh suffer a little and read.Sorry but a very inappropriate rant.
You are trying to run this on a virtual machine and are blaming this forum that it’s not working due to the incompatibility of electron with certain systems.
Have you checked other posts on this forum?
How long has it taken Sam to respond to you? And actually trying to help -
- No! and yes! Started having problems on a pi4. But that was way too slow, and no snapshots. That is where the virtual machine came in. For trouble shooting and configuration. After all the hardware is not relevant to magicmirror. I have had a virtual windows xp (caps went out, 16bit drivers, sp2 breaks system) running for over 10 years on vmware no problems, the techs that calibrate and update the equipment its operating never even notice. Until it restarts to the vmware logo. The vm is so much faster, the limits of xp still apply like memory and core count.
- Yes, I am a certified forum stalker. Like most people who work on this kinds of projects. I always custom flash my routers, root my phones, and even have a z3x to save time. But I am a newbie to this
- Sam was incredibly fast. Its very much appreciated.
-
@missingxtension so, you said you fixed the multiple instances issue… what did u do to fix that?
-
shutdown -r now
I did a reboot. After that the menus are gone from the window manager, even for chromium. That seems to stop the multiple instances, otherwise it just keeps loading them over and over again.
-