• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
  1. Home
  2. nowayto
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
N
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 6
  • Posts 57
  • Groups 0

nowayto

@nowayto

5
Reputation
3
Profile views
57
Posts
0
Followers
0
Following
Joined Feb 24, 2025, 12:58 PM
Last Online 3 days ago

nowayto Unfollow Follow

Best posts made by nowayto

  • RE: [ERROR] _ is not defined

    @sdetweil
    Before writing here I made backups, locally and on github, like you taught me in the past :)

    Now I’ll try

    posted in Troubleshooting
    N
    nowayto
    6 days ago
  • RE: Question about backup script

    @sdetweil said in Question about backup script:

    @nowayto also see my MMM-Config, it provides module install and all config

    I give it a try some days ago, after your suggestion but I wanna learn the configuration first, rather than easier ways

    I’ll read your CSS guide for sure

    posted in General Discussion
    N
    nowayto
    Mar 2, 2025, 10:53 PM
  • RE: [ERROR] _ is not defined

    @rkorell Again, thank you Sam.
    I know what you mean, I usually act as you said.
    I like to help other, in the subject where I have knowledge.
    So, thank you again

    posted in Troubleshooting
    N
    nowayto
    3 days ago
  • Question about backup script

    Hello,
    I have a question about backup script.
    In these days I’m trying to learn how to configure MM with some modules, after all these tries, I will do a fresh installation with no errors on configuration.

    When I’ll arrive at that point, I’ll wanna backup MM entirely, so I see your script:

    bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_backup.sh)” with any parms

    I don’t want a github private backup, I want just a local backup so does this script will backup every configuration on: $HOME/MM_backup ?
    I assume I’ll just have to copy that folder away and keep it secure?

    When I’ll need a restore I can start with an empty SD card, OS installation, MM installation script and then which of that 2 options?

    1- copy the MM_backup folder in $HOME, install modules I need and run your restore script
    (bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror-backup-restore/main/mm_restore.sh)” with any parms)

    2- copy the MM_backup folder in $HOME and just run the restore script

    Thanks in advance

    posted in General Discussion
    N
    nowayto
    Mar 2, 2025, 5:26 PM
  • RE: Question about backup script

    Perfect.
    Your right but since I’m not a programmer so sometimes I have some stupid doubts.
    I started with a simple idea and now in my mind I wanna make more than one MM, with differents setup but for now I need to learn the basics configuration, so I’m testing testing and testing more :)
    Reinstall from 0 and test again :)

    For example I hope it will be not to difficult to config css, I like the personalization it will offer but I’m scared about difficulties. But I’ll try for sure!

    Thank you again

    posted in General Discussion
    N
    nowayto
    Mar 2, 2025, 6:24 PM

Latest posts made by nowayto

  • RE: [ERROR] _ is not defined

    @rkorell Again, thank you Sam.
    I know what you mean, I usually act as you said.
    I like to help other, in the subject where I have knowledge.
    So, thank you again

    posted in Troubleshooting
    N
    nowayto
    3 days ago
  • RE: [ERROR] _ is not defined

    @sdetweil Ok but I wanna just offer a coffe for your kind and your time spent with that.

    Do you suggest me to fix the old magic mirror folder or just rm it?

    posted in Troubleshooting
    N
    nowayto
    5 days ago
  • RE: [ERROR] _ is not defined

    @sdetweil
    Sam… I don’t know how to saying it.
    I figure out the issue.

    After your last message I tried what you suggest.
    With the default cfg I had no errors, with mine I had errors.

    So I checked again and again the config…
    and I find an underscore _ right at the start of the config

    npm config:check told me “no syntax errors” and that confusing me.

    When I edit it I use nano editor
    I do “sudo nano config.js” and I press CTRL + _ to jump at the 250 line.
    Might be one of the latest time I opened it and press _ a bit faster than CTRL and I add it for error.

    In addition I notice that when I open config.js with nano editor the green cursor is, clearly, at the start of the first line… EXACTLY on the undescore _ and it hides it.

    I’m really sorry for bothering you with that.
    How can I buy you a coffee ?
    Thanks

    posted in Troubleshooting
    N
    nowayto
    6 days ago
  • RE: [ERROR] _ is not defined

    @sdetweil

    That’s incredible… I did it, everything goes good… no issues but when I start it

    npm start

    magicmirror@2.31.0 start
    npm run start:x11

    magicmirror@2.31.0 start:x11
    DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

    [2025-05-11 22:44:21.593] [LOG] Starting MagicMirror: v2.31.0
    [2025-05-11 22:44:21.682] [LOG] Loading config …
    [2025-05-11 22:44:21.687] [LOG] config template file not exists, no envsubst
    [2025-05-11 22:44:23.250] [INFO] Checking config file /home/MYMIRR/MagicMirror/config/config.js …
    [2025-05-11 22:44:23.532] [INFO] Your configuration file doesn’t contain syntax errors :)
    [2025-05-11 22:44:23.535] [INFO] Checking modules structure configuration …
    [2025-05-11 22:44:23.824] [ERROR] _ is not defined

    Again this _ is not defined

    posted in Troubleshooting
    N
    nowayto
    6 days ago
  • RE: [ERROR] _ is not defined

    @sdetweil
    Before writing here I made backups, locally and on github, like you taught me in the past :)

    Now I’ll try

    posted in Troubleshooting
    N
    nowayto
    6 days ago
  • RE: [ERROR] _ is not defined

    @sdetweil
    I’m sure.I don’t think SolarPicture could be the problem.

    Yes, the error keep showing

    posted in Troubleshooting
    N
    nowayto
    6 days ago
  • RE: [ERROR] _ is not defined

    @sdetweil

    installer didn’t failed, but this is the result now

    npm install

    magicmirror@2.31.0 postinstall
    npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
    "

    magicmirror@2.31.0 install-vendor
    echo "Installing vendor files …
    " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier

    Installing vendor files …

    up to date in 7s

    magicmirror@2.31.0 install-fonts
    echo "Installing fonts …
    " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier

    Installing fonts …

    up to date in 3s
    MagicMirror² installation finished successfully!

    magicmirror@2.31.0 prepare
    [ -f node_modules/.bin/husky ] && husky || echo no husky installed.

    up to date in 45s

    285 packages are looking for funding
    run npm fund for details

    posted in Troubleshooting
    N
    nowayto
    6 days ago
  • RE: [ERROR] _ is not defined

    @sdetweil Thank you a lot Sam.

    I did everything but
    I have an [ERROR] _ is not defined

    magicmirror@2.31.0 start:x11
    DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

    [2025-05-11 15:39:26.429] [LOG] Starting MagicMirror: v2.31.0
    [2025-05-11 15:39:26.527] [LOG] Loading config …
    [2025-05-11 15:39:26.537] [LOG] config template file not exists, no envsubst
    [2025-05-11 15:39:28.154] [INFO] Checking config file /home/MYMIRR/MagicM irror/config/config.js …
    [2025-05-11 15:39:28.478] [INFO] Your configuration file doesn’t contain syntax errors :)
    [2025-05-11 15:39:28.482] [INFO] Checking modules structure configuration …
    [2025-05-11 15:39:28.793] [ERROR] _ is not defined

    posted in Troubleshooting
    N
    nowayto
    6 days ago
  • RE: [ERROR] _ is not defined

    @sdetweil

    which node gave me
    /home/MYMIRR/.nvm/versions/node/v22.15.0/bin/node

    n gave me
    node/20.18.1

    Use up/down arrow keys to select a version, return key to install, d to delete, q to quit

    nvm gave me

    Node Version Manager (v0.39.5)

    Note: refers to any version-like string nvm understands. This includes :

    • full or partial version numbers, starting with an optional “v” (0.10, v0.1.2 , v1)
    • default (built-in) aliases: node, stable, unstable, iojs, system
    • custom aliases you define with nvm alias foo

    followed by a lot of options

    posted in Troubleshooting
    N
    nowayto
    6 days ago
  • RE: [ERROR] _ is not defined

    @sdetweil I’m sorry :(

    I did it what you suggest and config:check gave me a module error again. Different than one before

    npm run config:check

    magicmirror@2.31.0 config:check
    node js/check_config.js

    node:internal/modules/cjs/loader:1404
    throw err;
    ^

    Error: Cannot find module ‘ajv’
    Require stack:

    After “require stack” there are other lines, if you need it, tell me.
    Thanks

    posted in Troubleshooting
    N
    nowayto
    7 days ago
Enjoying MagicMirror? Please consider a donation!
MagicMirror created by Michael Teeuw.
Forum managed by Sam, technical setup by Karsten.
This forum is using NodeBB as its core | Contributors
Contact | Privacy Policy