Read the statement by Michael Teeuw here.
MMM-Tube-Status (London Underground)
-
@djbenny07 ok there were a couple issues here that my linter picked up:
- the tube module must look like this:
{
module: 'MMM-Tube-Status',
position: 'top_left',
header: 'Tube'
},
Note the terminating commas on each line bar the last one in the braces.
- The final line seems to use ticks to quote undefined not single quotes so it should be:
if (typeof module !== 'undefined') {module.exports = config;}
It can happen that copying between editors, email clients, browsers, etc introduces this sort of error and it’s a real pain to spot!
I hope this fixes it up for you.
-
can the position be the same as another module though? i still get the message to saying ‘Please create config file’
as my clock is in top_left
EDIT: Just noticed that i missed the ’ from the module name. added that in and still issue
-
@djbenny07 you are still missing the closing , at the end of the tube module lines, as several users mentioned above
-
@yawns yes my bad. i noticed this and corrected it. still same message
-
@djbenny07 are you kidding? Look at the three lines you got there for the tube module. All three lines MUST end with a comma
-
@yawns haha, im being really dumb i know. i have finally seen it, long day. thats what im going to blame it on.
its working now!
-
Sometimes a knock at the back of ones head is worth a try.
Good to see it’s finally working :-)
-
@djbenny07 Yeay! It lives :)
-
i presume to update the module i just run this again?
-
@djbenny07
enter the MMM-Tube-Status folder and rungit pull
, that should pull all changes from github
If you run the clone command again it will tell you the target directory already exists