Read the statement by Michael Teeuw here.
Changed a few compliments, hosed it up - not fixed, still hosed
-
Still hosed…
] } }, { module: 'MMM-Remote-Control', // uncomment the following line to show the URL of the remote control on the mirror position: 'bottom_right', // you can hide this module afterwards from the remote control itself config: { customCommand: {}, // Optional, See "Using Custom Commands" below customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below showModuleApiMenu: true, // Optional, Enable the Module Controls menu apiKey: "", // Optional, See API/README.md for details } }, { module: "compliments", position: "lower_third" }, {
-
@motdog please run (from the MM folder)
npm config:check
start at the top and fix any errors
repeat til no errros -
@motdog
go to jshint.com and paste your module file there.
It may help you with missing commata or brackets.Beyond that, consider copying your changed comments to another file and doing a
git reset --hard
to get back to a working state. And then read through the readme of the module about including compliments.
-
-
@lavolp3 the config is not a clean json file… better to use the config:check, lint sends you chasing problems u don’t have (comments, un quoted strings, …)
-
@sdetweil said in Changed a few compliments, hosed it up - not fixed, still hosed:
@lavolp3 the config is not a clean json file… better to use the config:check, lint sends you chasing problems u don’t have (comments, un quoted strings, …)
true for jslint.com, not true for jshint.com