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

    beachjosh77

    @beachjosh77

    0
    Reputation
    1
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    beachjosh77 Unfollow Follow

    Latest posts made by beachjosh77

    • RE: Magic Mirror saying undefined

      @sdetweil I just ran npm install in fonts and vendors and now it works. Thank you!

      posted in Troubleshooting
      B
      beachjosh77
    • RE: Magic Mirror saying undefined

      @sdetweil Sorry, should’ve added that. I’m on Windows 10 and used the install guide.

      posted in Troubleshooting
      B
      beachjosh77
    • Magic Mirror saying undefined

      I’ve tried reinstalling Magic Mirror twice after an upgrade gone wrong and when I run the sample config or my custom (previously working) config I get a black screen that says “undefined” everywhere any help is appreciated!

      https://imgur.com/a/L67MLLK

      posted in Troubleshooting
      B
      beachjosh77
    • RE: MM on Windows - Updated now get black screen

      @sdetweil That worked, thank you!

      posted in Troubleshooting
      B
      beachjosh77
    • RE: MM on Windows - Updated now get black screen

      @sdetweil I forgot to mention, I also ran npm install in fonts and vendors and changed package.json to remove the display again

      posted in Troubleshooting
      B
      beachjosh77
    • RE: MM on Windows - Updated now get black screen

      @sdetweil Thank you for replying,
      I followed your instructions and ran:

      cd ~/MagicMirror
      git checkout develop
      git pull
      npm install
      

      but I still get

      npm ERR! code EJSONPARSE
      npm ERR! path C:\Users\CompName\MagicMirror/package.json
      npm ERR! JSON.parse Unexpected token "." (0x2E) in JSON at position 181 while parsing near "...ts\": {\r\n\t\t\"start\":  ./node_modules/.bin/..."
      npm ERR! JSON.parse Failed to parse JSON data.
      npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     C:\Users\CompName\AppData\Local\npm-cache\_logs\2023-04-17T18_21_14_409Z-debug-0.log
      
      posted in Troubleshooting
      B
      beachjosh77
    • MM on Windows - Updated now get black screen

      I was running an old version of Magic Mirror on a Windows 10 build and I decided to update my version.
      After updating, I got an error because my package.json still referenced display so I changed it to:

      "main": "js/electron.js",
      	"scripts": {
      		"start": ./node_modules/.bin/electron js/electron.js",
      		"start:dev": ./node_modules/.bin/electron js/electron.js dev",
      

      When I run npm start, I get this:

      PS C:\Users\CompName\MagicMirror> npm start
      npm ERR! code EJSONPARSE
      npm ERR! path C:\Users\CompName\MagicMirror/package.json
      npm ERR! JSON.parse Unexpected token "." (0x2E) in JSON at position 172 while parsing near "...pts\": {\r\n\t\t\"start\": ./node_modules/.bin/..."
      npm ERR! JSON.parse Failed to parse JSON data.
      npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     C:\Users\CompName\AppData\Local\npm-cache\_logs\2023-04-17T12_59_59_873Z-debug-0.log
      

      Any help is greatly appreciated!

      posted in Troubleshooting
      B
      beachjosh77