MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. someone123416
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 7
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: ERRNO 126, ELIFECYCLE, permission denied on RPI3

      @sdetweil Hi,

      Yes, it is hooked up to a real 24in display over HDMI.

      I am not running this over vnc.

      posted in Troubleshooting
      S
      someone123416
    • RE: ERRNO 126, ELIFECYCLE, permission denied on RPI3

      @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.

      posted in Troubleshooting
      S
      someone123416
    • RE: ERRNO 126, ELIFECYCLE, permission denied on RPI3

      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.

      posted in Troubleshooting
      S
      someone123416
    • RE: ERRNO 126, ELIFECYCLE, permission denied on RPI3

      @lavolp3 Hi, sorry for the very late follow-up, I was very occupied last week.

      I’ve cleared the micro sd card and started from scratch, reinstalling raspbian and MM without Sudo privilege or any type of permission restriction.

      The bad news is that it still gave the same error message. The good news is that I might’ve found the reason behind the failure. It seems to not be able to download nor install chromedriver.js. This might be caused by me being in mainland China right now, and the “great firewall of China” has blocked the download.

      Is there any other way to get the chromedriver.js files and manually put it into the MM folder?

      Thank you very much for your time!

      posted in Troubleshooting
      S
      someone123416
    • RE: ERRNO 126, ELIFECYCLE, permission denied on RPI3

      Ok, I will give that a shot today!

      Thx

      posted in Troubleshooting
      S
      someone123416
    • RE: ERRNO 126, ELIFECYCLE, permission denied on RPI3

      Thank you very much for your reply!

      Yes, I am in the MM directory (cd MagicMirror) before attempting to start.

      Sorry for the mistake w the output stuff. First time in this forum 😁

      posted in Troubleshooting
      S
      someone123416
    • ERRNO 126, ELIFECYCLE, permission denied on RPI3

      Hi, thx lots for checking this out!

      I was just did a fresh install of MM on my rpi 3, the installation went fine. But when I tried to start MM by npm start or npm start dev, it fails n reports ERRNO 126, permission denied, and “this is probablity not a problem with npm…additional logging output above”.

      I’ve tried reinstalling MM, reinstalling raspbian (buster), running npm start as root, but still no luck.

      I’ve hooked up my rpi directly to a display via hdmi n everything works fine.

      npm ERR! code ELIFECYCLE
      npm ERR! errno 126
      npm ERR! magicmirror@2.10.1 start: `./run-start.sh`
      npm ERR! Exit status 126
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.10.1 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/2020-02-13T08_34_23_558Z-debug.log
      

      again thx lots!

      posted in Troubleshooting
      S
      someone123416
    • 1 / 1