Read the statement by Michael Teeuw here.
Are you tired of editing config.js, or have trouble doing it, see my new module
-
@MarcLandis gosh I hate git changing file dates…
SO, can you do this for me
in the module folder do
node scripts/buildschema4.js …/defaults.js debug >somefile.txt 2>&1
and send me somefile.txt
I’d have you attach it to an issue, but it shows every line from config.js
same id at gmail… and issue attachments are public -
@sdetweil I created a new issue on github and uploaded the file after removing some sensitive information.
-
@MarcLandis great… thanks
pushed fix to the with_unused_fix branch
git pull
git checkout with_unused_fix
and run the buildschema4 test again -
throws an error:
/home/dirk/MagicMirror/modules/MMM-Config/scripts/buildschema4.js:750
if(module_scripts[m.module] !== undefined ){
^ -
@MarcLandis said in Are you tired of editing config.js, or have trouble doing it, see my new module:
throws an error:
/home/dirk/MagicMirror/modules/MMM-Config/scripts/buildschema4.js:750
if(module_scripts[m.module] !== undefined ){
^fixed it myself but ran into the next exception:
calling module data converter script for module=compliments /home/dirk/MagicMirror/modules/MMM-Config/schemas/compliments_converter.js:24 Object.keys(config_data.compliments).forEach(c =>{ ^ TypeError: Cannot read properties of undefined (reading 'compliments') at Object.converter (/home/dirk/MagicMirror/modules/MMM-Config/schemas/compliments_converter.js:24:27) at /home/dirk/MagicMirror/modules/MMM-Config/scripts/buildschema4.js:754:49 -
@MarcLandis sorry, try again, git pull…
-
@MarcLandis said in Are you tired of editing config.js, or have trouble doing it, see my new module:
@MarcLandis said in Are you tired of editing config.js, or have trouble doing it, see my new module:
throws an error:
/home/dirk/MagicMirror/modules/MMM-Config/scripts/buildschema4.js:750
if(module_scripts[m.module] !== undefined ){
^fixed it myself but ran into the next exception:
calling module data converter script for module=compliments /home/dirk/MagicMirror/modules/MMM-Config/schemas/compliments_converter.js:24 Object.keys(config_data.compliments).forEach(c =>{ ^ TypeError: Cannot read properties of undefined (reading 'compliments') at Object.converter (/home/dirk/MagicMirror/modules/MMM-Config/schemas/compliments_converter.js:24:27) at /home/dirk/MagicMirror/modules/MMM-Config/scripts/buildschema4.js:754:49I f… up
After git pull I have an exception in one of my not published modules. Going to check that first.
-
@MarcLandis ok i have grandchild lunch at school, back in a couple hours
-
-
@sdetweil I got the command running. There is also an issue when the default calendar module is not used. I fixed it by changing the following in buildschema4.js line 1050
// if the default calendar module is not used, tt will be empty and getValueObject will fail if (tt !== undefined && tt.length > 0) { module_properties = getValueObject(m, tt); }Maybe you have a better fix ready :)
-
@MarcLandis thanks git pull on the new branch again …
I didn’t see this particular error with the latest
-
-
@MarcLandis said in Are you tired of editing config.js, or have trouble doing it, see my new module:
@sdetweil the command now works. Now I need to figure out why the socket.io connection isn’t working.
Failed to load resource: net::ERR_CONNECTION_REFUSEDWrong URL :)
All is working now. Thanks for the help.
-
@MarcLandis what url were you trying? that didn’t work?
-
@sdetweil /modules/MMM-Config/config.html without the port parameter that gets added when using /modules/MMM-Config/review
-
@MarcLandis got it… thx
-
Any chance this is still being worked on? Read through this entire thread in hopes I’d be able to solve my problem without bugging (see what I did there?) you, but alas, I did not.
Simply returning the “builder encountered a problem, see MagicMirror messages for info” when I navigate via the QR code.
Would appreciate any help you might be able to supply.
Thank you!
-
@SteakExpert yes , so you need to look in the output of npm start
-
@sdetweil The only feedback it produces is:
[WARN] You're using a full whitelist configuration allow for all IPs -
@SteakExpert are you using pm2?
if so, pm2 logs --lines=xxx
xxx is the most recent lines
there should be a lot more output
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
