@sdetweil I just ran npm install in fonts and vendors and now it works. Thank you!
Read the statement by Michael Teeuw here.
Latest posts made by beachjosh77
-
RE: Magic Mirror saying undefined
-
RE: Magic Mirror saying undefined
@sdetweil Sorry, should’ve added that. I’m on Windows 10 and used the install guide.
-
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!
-
RE: MM on Windows - Updated now get black screen
@sdetweil That worked, thank you!
-
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
-
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
-
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!