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