Electron failed to install correctly
Dimasua opened this issue · 9 comments
After initial installation, the MM does not start. From the pm2 logs I got that Electron failed to install correctly. Would you please suggest how to properly install it now?
please tell us more? what pi? how did u install?
node -v and npm -v output
Sure. Pi4. Used the installation script: bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/with_progress_bar/raspberry.sh)"
v.14.17.5
6.14.14
I've seen this a number of times.. for some reason on some systems.. not sure why.
on intel 64bit, node returns 32bit and then electron install aborts for 32bit on a 64bit system..
try this and see what happens
cd ~/MagicMirror/node_modules/electron
node ./install.js
see what messages come out..
also post the ~/install.log here as an attachment
And here is the install.log
install.log
But...surprisingly the MM is working now :) At least it displays all the modules.
How can I ensure that everything is really ok now and no hidden errors are still somewhere?
@Dimasua
not sure where u are...
u didn't do the command I requested..(or didn't report the results)
two things
- check package.json , it SHOULD be launching run-start.sh
"start": "./run-start.sh $1",
- then check the output of pm2 logs --lines=100
not a script problem