@nschertz git checkout
restores it from the local source repo
git reset
removes it from the staged to be submitted as a change
I posted the checkout first, then a user posted reset and I blindly followed it…
my mistake
@nschertz git checkout
restores it from the local source repo
git reset
removes it from the staged to be submitted as a change
I posted the checkout first, then a user posted reset and I blindly followed it…
my mistake
@nschertz sorry, oops… wrong command!
git checkout package-lock.json
fixed the prior posts with note edited
@BKeyport and it gets updated by npm install
You can do npm ci
Which will ONLY install the EXACT versions listed in the lock file, even if it’s wrong for your system
@nschertz you ARE in the module folder, right?
edited
cd ~/MagicMirror/modules/MMM-CalendarExt3
git checkout package-lock.json
git pull
npm install
right?
@MrPringless I do not know the inner workings of the module.
typically
module not found
means npm install for the module was not done or the package.json for the module didn’t list the library dependency. MMRIZE is very good on that point, so I don’t the second is the reason…
but thanks for the nudge… my backup/restore scripts will save/restore extra files discovered in a modules folder… but files with leading dot are hidden by convention… so I will have to check that
I would not have picked up the .env file… fixed… thx
@ember1205 I had to make my browser page bigger…
you could zoom out ctrl-minus (on the keypad) or the -/+ on the US keyboard to the left of the backspace key)
blocked,
zoomed out 1 click (ctrl-minus)
@MrPringless did you run
npm install
In the module folder after the git clone?
git clone …
cd MMM-CalDAV
npm install
@Socrates note that without adding a parameter
The script does nothing. It only tests the ability to update the base MagicMirror
Update is two pass process
Test. Make no changes
Do. Apply the changes (with the parameter apply)
Many users have modified MagicMirror base code not knowing about the config and css file design. These changes block the ability to update normally
Over time they forget that they changed the files and what they actually changed. The force way to install is to wipe all changes, but now the result doesn’t work like it used to. Adding a lot of frustration.
@BKeyport Oct 1
Jan, April. July, Oct
every 3 months, 1,4,7,10