Skip to content

Instantly share code, notes, and snippets.

@winstonma
Last active May 28, 2018 12:57
Show Gist options
  • Save winstonma/e7c47bd24bcdccfab30acc9e1a7fbee0 to your computer and use it in GitHub Desktop.
Save winstonma/e7c47bd24bcdccfab30acc9e1a7fbee0 to your computer and use it in GitHub Desktop.
This package.json settings solves the black screen problem on MagicMirror 2.3.1. All you need is replace this package.json with the one in MagicMirror, run `npm update` and `npm start`
{
"name": "magicmirror",
"version": "2.3.1",
"description": "The open source modular smart mirror platform.",
"main": "js/electron.js",
"scripts": {
"start": "sh run-start.sh",
"install": "cd vendor && yon install",
"install-fonts": "cd fonts && yon install",
"postinstall": "sh installers/postinstall/postinstall.sh && yon run install-fonts",
"test": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests --recursive",
"test:unit": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/unit --recursive",
"test:e2e": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/e2e --recursive",
"config:check": "node tests/configs/check_config.js",
"lint": "grunt"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MichMich/MagicMirror.git"
},
"keywords": [
"magic mirror",
"smart mirror",
"mirror UI",
"modular"
],
"author": "Michael Teeuw",
"contributors": [
"https://github.com/MichMich/MagicMirror/graphs/contributors"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/MichMich/MagicMirror/issues"
},
"homepage": "https://magicmirror.builders",
"devDependencies": {
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"current-week-number": "^1.0.7",
"danger": "^3.6.5",
"grunt": "latest",
"grunt-eslint": "latest",
"grunt-jsonlint": "latest",
"grunt-markdownlint": "^1.1.4",
"grunt-stylelint": "latest",
"grunt-yamllint": "latest",
"http-auth": "^3.2.3",
"jsdom": "^11.10.0",
"jshint": "^2.9.5",
"mocha": "^5.1.1",
"mocha-each": "^1.1.0",
"spectron": "3.8.x",
"stylelint": "^9.2.0",
"stylelint-config-standard": "latest",
"time-grunt": "latest",
"yarn-or-npm": "^2.0.4"
},
"dependencies": {
"body-parser": "^1.18.2",
"colors": "^1.2.4",
"electron": "^2.0.0",
"express": "^4.16.3",
"express-ipfilter": "0.3.1",
"feedme": "latest",
"helmet": "^3.12.0",
"iconv-lite": "^0.4.23",
"mocha-logger": "^1.0.5",
"moment": "^2.22.1",
"request": "^2.85.0",
"rrule-alt": "^2.2.8",
"simple-git": "^1.92.0",
"socket.io": "^2.1.0",
"valid-url": "latest",
"walk": "latest"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment