I get error when try to run the magic mirror at first time
See original GitHub issueafter copy config.js file i get this error When am give this code npm run start i get the error like this bellow the maic mirror is not open
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! magicmirror@2.14.0 start: DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the magicmirror@2.14.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2021-02-12T10_46_13_145Z-debug.log
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:17 (2 by maintainers)
Top Results From Across the Web
I get error in magic mirror when am installing the magic mirror ...
I get error in magic mirror when am installing the magic mirror the cmd: npm run start.
Read more >How to Make a Magic Mirror with Raspberry Pi - SparkFun Learn
npm fails to start: Get errors when you type in npm start ? Likely you're not in the MagicMirror folder. Make sure you're...
Read more >How to Install Magic Mirror on Your Raspberry Pi - Howchoo
Learn how to install the Magic Mirror interface on your Raspberry Pi, turning it into a wall-mountable dashboard!
Read more >Receiving Error when trying to add module : r/MagicMirror
Maybe a syntax error in your config.js file. Can you show us the code you've added in the config.js file? Make sure things...
Read more >Magic Mirror is looking for package.json in all the wrong places
I'm trying to run Magic Mirror on a Pi 4b. I followed the install instructions perfectly, but I keep getting this error:.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
pgrep Xorg
open a terminal window, or ssh session
same place u would run npm start
what pi is this? pi 0 has no electron version anymore.
the system is running in graphical desktop mode correct?
is xwindows running, do this command pgrep Xorg should return a number