MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    "moment npm package" causes black screen after npm start

    Troubleshooting
    1
    3
    1244
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • axellejamous
      axellejamous last edited by axellejamous

      Hello,

      I must be doing something very wrong.
      I followed the howchoo guide and did every step, except for 8.
      I also installed it manually since the automatic one wasn’t working for me.

      I’ve done all of my updates and upgrades and what-not but whenever I run
      DISPLAY=:0 npm start I get no errors, but the screen is just black.
      I’m using the provided config files with no modifications. Pulled from Master.

      //Update:

      I found out that this is the error that is causing it
      0_1508402507611_8e2dbef2-4b7e-4f6b-985c-e830050ed86c-image.png

      I basically get a ton of “Failed to load resource” errors and these cause this one to happen on a loop:
      0_1508402577780_31fbc48b-be84-4ad6-bdb2-56b2489ddbac-image.png

      I reinstalled moment, but the error still happens.

      1 Reply Last reply Reply Quote 0
      • axellejamous
        axellejamous last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • axellejamous
          axellejamous last edited by

          Solved the issue by simply running npm install in the vendor folder.

          Found thanks to this issue

          Thought I’d share the solution so maybe noobs like me can use it in the future.

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy