MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    "moment npm package" causes black screen after npm start

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 1 Posters 1.5k Views 1 Watching
    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.
    • axellejamousA Offline
      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
      • axellejamousA Offline
        axellejamous
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • axellejamousA Offline
          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 Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy