Read the statement by Michael Teeuw here.
Config Error
-
@sdetweil yeah ill try that, i tried fixing “string” because it had an extra space in it but i got the no config.js file again, i will try looking for the other stuff rn
-
@PHAGE-GOV said in Config Error:
in it but i got the no config.js file again,
if it has an error in the config, it throws up its hands and says no config…
yes there is one, but he can’t tell what to do -
@PHAGE-GOV I guess you have that part in the alert module.
It needs to be like @sdetweil said. on the left side a single word, here
welcome_message
. You need to take care of underlines and the upper-/lowercase.
Then there is a:
and then the value which can be a string or false.welcome_message: 'Any string you like'
OR
welcome_message: false
-
-
@sdetweil Looking at above post, there’s looots of errors in the config.
@PHAGE-GOV we can’t lead you through all of these.
You need to understand how config.js needs to look. Only one comma set false or forgotten breaks the whole file and the mirror. -
@lavolp3 The alert part needs to look like this:
{ module: "alert", position: "right", welcome_message: "a string" },
-
@sdetweil okay so ive been combing through the code, and since i didnt know how to properly edit .json files, i had alot of cleanup to do, im still not done, but getting there. what is a trailing space though? i dont know what to remove
-
-
@PHAGE-GOV ignore the trailing space error. It’s stupid
-
@sdetweil indeed it is, i found it tho, and i fixed everything else too! thank you so much! and i learned so much from this also, i feel much more confident poking around and i defs learned much more about proper coding