Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-ResRobot - Public transport information for Sweden
-
RE: MMM-ResRobot - Public transport information for Sweden
-
RE: MMM-ResRobot - Public transport information for Sweden
@Zapman said in MMM-ResRobot - Public transport information for Sweden:
{ module: "MMM-ResRobot", position: "top_right", header: "Departures", config: { routes: [ // stations from: {from: "740015972", to: ""}, ], apiKey: "API-KEY-HERE" }, },@Zapman You can’t have a comment in the middle of the config. Remove the " // stations from: " and it should work.
This is what it looks like for me:

-
RE: MMM-ResRobot - Public transport information for Sweden
@Zapman I’ll have a look. Your config looks fine at a first look.
-
RE: MMM-ResRobot - Public transport information for Sweden
@sweup I just pushed a minor update with some new options. Feel free to try the new version out.
-
RE: MMM-ResRobot - Public transport information for Sweden
@sdetweil @sweup
My guess is that it is an unintended change probably caused by saving rather than exiting when viewing the file.
Anyway, package.json only contains information about the module and can without issue be replaced with a “git pull”.@sweup Great that you solved it. A small suggestion for the future: as most modules (and MagicMirror itself) uses Github you should read up on GIT and its basic commands. It will make life easier for you!
-
RE: MMM-ResRobot - Public transport information for Sweden
@sweup
git stash
git pull
npm install -
RE: MMM-ResRobot - Public transport information for Sweden
@sweup it seems you have changed the file package.json
Stash it away with “git stash” and try the update again.
-
RE: MMM-ResRobot - Public transport information for Sweden
@sweup did you restart the MagicMirror service after you updated?
-
MMM-Koket-by-Sodexo
A module (based on MMM-Skolmaten) to display school lunch menus from Köket by Sodexo (https://sodexo.mashie.com/public/app)

Get it here: https://github.com/Alvinger/MMM-Koket-by-Sodexo)