Read the statement by Michael Teeuw here.
Trouble
-
Does anyone can help m
sh: 1: ./node_modules/.bin/electron: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! magicmirror@2.13.0 start:DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the magicmirror@2.13.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-11-29T20_51_06_451Z-debug.log -
@marczy236 what device? Pi0?
Use my install script, see here
https://github.com/sdetweil/MagicMirror_scripts -
@sdetweil it is actually a Banana Pi device with a Raspbian image
I made it on my Ubuntu, but I want it in a Raspbian.
I tried to run every script, bit it doesn’t work. But can you tell me, how could I do this properly? -
@marczy236 u run one script, install. Copy/paste the one line
It assumes this is first install, so there cannot be a MagicMirror folder
-
@marczy236 can u show results of uname -a
-
@sdetweil
pi@bpi-iot-ros-ai:~ $ uname -a
Linux bpi-iot-ros-ai 3.4.39-BPI-M3-Kernel #1 SMP PREEMPT Sat May 26 10:03:38 UTC 2018 armv7l GNU/Linux -
@marczy236 little old, 2018, but should work
-
@sdetweil thanks a lot Master. I already made it.
I had some problem whit the first line of the code, but i modified it and changed the number to 8.
It is working now perfectly -
@marczy236 could u show me what u changed?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login