Read the statement by Michael Teeuw here.
MMM-CalendarExt3 color formatting
-
So I figured out what the problem was, and it was much simpler than I suspected. For some reason, in my default calendar module, I used
module: 'calendar'
instead ofmodule: "calendar"
in the config file. When I rannpm run config:check
, it made me change many of my quotation marks to “correct” the syntax. When I went through and changed everything to the double quotes, the color coding passed through to CalendarExt3 just as expected/designed. Now, I think I can go through and tweak the single day events as MMRIZE was suggesting to match my background pictures so they stand out appropriately for my set up. Thank you for all the guidance. -
@jlward73 said in MMM-CalendarExt3 color formatting:
So I figured out what the problem was, and it was much simpler than I suspected. When I ran
npm run config:check
, it made me change many of my quotation marks to “correct” the syntax.whenever I run con fig check, it just says syntax error and I gotta figure what the issue is and it’s usually a missing comma.
What do I have to do to get config check to diagnose the exact issue?
-
@greedyvegan said in MMM-CalendarExt3 color formatting:
What do I have to do to get config check to diagnose the exact issue?
config check cannot get any closer…
it ‘compiles’ the source, and dies when it discovers something incorrect.
it cannot tell WHY it is incorrect… that is a human thingall it can say is ‘here’ is bad. and this is the logical error I encountered. (‘unexpected token’ for example)
-
ok, thank you.
I may have misread what he wrote. -
@jlward73 many times the content pasted into the forum does not use a code wrapper.
when this happens, the content is assumed to be word processing ( ms word or like), and the double and single quotes are changed to match (curved)
zoom in on these two sets of quotes
’
""'
JavaScript uses text mode, (quotes are vertical not curved) and freaks out when encountering the word processing quotes, as they don’t match anything expected.