Read the statement by Michael Teeuw here.
ERRNO 126, ELIFECYCLE, permission denied on RPI3
-
@someone123416 try this…
npm install --only=prod
as the chromedriver is only needed for testing… which u won’t be doing…
if you used the automated install script then you wouldn’t have these problems…
see https://github.com/sdetweil/MagicMirror_scripts -
Thank you, Sam, for your reply!
MagicMirror installed successfully with the --only=prod command, the error code about chromedriver has disappeared.
However, I am still getting the same error message (errno 126) when trying to npm start the program, in fact, the exact same error message.
I am really curious about why I am getting a permission error, as I’ve installed it without any privileges.
-
@someone123416 did u erase the node_modules folder
cd ~/MagicMirror rm -rf node_modules npm install --only=prod
-
@sdetweil Hi Sam,
Thank you very much for your reply.
I’ve tried earasing the node_modules folder, but still no luck. Exact same error message.
-
@someone123416 back in your original post, you said
“I’ve hooked up my rpi directly to a display via hdmi n everything works fine”It works on a real display, but doesn’t some other way?
So, r u doing this over vnc? Or?
-
@sdetweil Hi,
Yes, it is hooked up to a real 24in display over HDMI.
I am not running this over vnc.
-
@someone123416 I guess I would delete the ~/.npm folder.
Then use my script to install mm
See https://github.com/sdetweil/MagicMirror_scriptsHave to rename/delete the existing MagicMirror folder