Read the statement by Michael Teeuw here.
Help with the software
-
Hi.
I tried to install the software on a Pie.
That worked well. And then i tried to install the different addons.
And then… everything broke.Deletede everything and tried again.
Im doing something wrong.Im not techsawy. I do know windwos and can have fun with that. But this software is just killing me slowly.
Is there any one who might be able to help with setting the code so everything works?
Trying to have a calendar, weather and normal addons. But everytime i install them and run, they are not working, and i can not figure out what im doing wrong.
Last time i jus tput everything away, and thats been, i think, a year ago, since last i tried.
-
@SecretEUAgent please run the configuration
checkercd ~/MagicMirror npm run config:check
-
last time you were working on your Mirror had you got any of the modules you wanted up and going? (i.e. is there anything you want to keep from what you’ve done so far, or are you ok making a fresh start by reinstalling?)
If you’re ok reinstalling it might be easier to work though adding the modules you want to a fresh install, is all.
Hard to know what hasn’t worked out since I can’t see what you’ve done so far! Adding modules to the mirror isn’t usually too difficult, but needs 2 steps:
-
installing the module (e.g. cloning the module’s code from github into the MagicMirror/modules directory on your RaspberryPi, and (maybe) installing dependencies
-
updating the
config.js
file at MagicMirror/config so that the module is displayed on your mirror and behaves the way you want
Updating config.js is not hard but does need doing with care as even small errors (typos, missing punctuation) can make the file contents invalid. Your Mirror will likely start but just show a blank screen with a default “Please create a config file or check the existing one for errors” message.
(It should also show a note about running the config check as Sam has suggested, which might show if there are errors in your config file that you can correct.)
While updating the config file if you save a last-known-good-file and then make small changes between re-running the mirror it’ll help to pin down any typing errors. If you jump in and change heaps at once and then your Mirror suddenly won’t show any modules then it’s harder to work out which of your edits caused it and where the config needs correcting.
Post back if you get your Pi to a solid (re)starting position (e.g. reinstalled with a new config.js, or a config.js you’ve run through the config checker) and we’ll try adding a module and see how it goes
-
-
@SecretEUAgent make sure you backup
use my backup restore scripts
https://github.com/sdetweil/MagicMirror-backup-restore -
I had my mirror working earlier. Issues getting it updated (module, then node errors and issues updating) but got it working.
I added a module, then I ran into problems.I removed the MagicMirror folder and contents.
I copied and pasted your script into my raspberrypi (3B+ Running Bookworm)
I have not been able to install MM.
I have tried install,start,update,run, npm in different command combos accompanied with Sudo.I was getting (node:27979) [DEP1070]… url proxy port invalid…future node.js will throw an error.
Running config:check
Node:internal/module/cjs/loader:1228
Throw error;
AError: Cannot find module ‘ansis’
…/js/check_config.js
…
…
At object (…js/check_config.js:3:16)
Code:‘MODULE_NOT_FOUND’
requirestack: […/MagicMirror/js/check_config.js]Node.js V20.17.0
I am not sure what I am missing as it is a new download with attempted install.
I also have a list of dependencies not created or may be moved out of incoming
"The following packages have unmet dependencies:
npm: Depends: node-agent-base but it is not going to be installed
…
…
(Long list of file nodes with same message)
…
Recommends: node-tap but it is not going to be installedE:unable to correct problems, you have held broken packages.
I can’t seem to figure out what I am missing or why I can’t force updates or complete install.
*note: the node and DEP problem occurred after I installed the first and only module on the previous MM config.js file.
That was the reason I scrapped the whole folder and started over with your link.I’m not super savvy, but have been working through the learning process of required packages and getting upto date to get the first MM running.
Hopefully this is something simple to correct and action.Appreciate any help
-
i have not been able to install MagicMirror
i don’t understand
my install script does that job
you don’t have to do anything else
just copy paste the command from my github page and press enter
send me the ~/install.log
-
I’ll try to access it remotely. I didn’t intend on doing that at this point. I’ll navigate the how to and get back soon.
I cannot attach images here.
I can barely load the browser and tabs for Google searches (Chromium and Mozilla) on the device itself to be able to C&C here.Could there be something lingering from previous install setup that I need to clear/purge through terminal?
-
@StewartBaird86 use your windows system for the forum
install either winscp or bitvise ssh clients on your windows system, then you can access the target system with a file manager interface and drag/drop files to copy, and still have an ssh terminal too
-
@StewartBaird86 said in Help with the software:
Error: Cannot find module ‘ansis’
this means that the npm run install-mm failed. do
cd ~/MagicMirror npm run install-mm