can't run "npm run start"
just did that and the error is below
firstname.lastname@example.org start /home/jeff/MagicMirror
No protocol specified
(electron:32527): Gtk-WARNING **: 21:53:58.634: cannot open display: :0.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! email@example.com start:
npm ERR! Exit status 1
npm ERR! Failed at the firstname.lastname@example.org 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/jeff/.npm/_logs/2020-06-24T01_53_58_663Z-debug.log
@jefftse still trying to open display 0
what is the vnc display number? do
env | grep -i display
@jefftse do u have a real display
@sdetweil yes, in fact, i had it all working yesterday till I accident broken my sd card. I had to rebuild everything today.
@jefftse did u use my install script? can’t understand why u are having trouble
@sdetweil sure did. I had to create an user to run your script since it wouldn’t allow me to do in root
@jefftse not supposed to be root
are u trying to run as root?
can’t do that
@sdetweil correct, and I created an user for the install. the install went fine. I just can’t run it!
@jefftse I don’t understand created a user.
raspian installs and starts with user pi