@sdetweil said in Update to v2.9.0 fail:
if you have edited the package-lock.json file
reedited and run script
pi@MagicMirror:~/MagicMirror $ bash -c -i "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)" force
doing test run = false
update log will be in /home/pi/MagicMirror/installers/upgrade.log
saving custom.css
upgrading from version 2.9.0 to 2.9.0
fetching latest revisions
there are 2 local files that are different than the master repo
package-lock.json
vendor/package-lock.json
any *-lock.json files do not need to be saved
do you want to save these files for later (Y/n)?n
updating MagicMirror runtime, please wait
> magicmirror@2.9.0 install /home/pi/MagicMirror
> cd vendor && npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
audited 220 packages in 13.98s
found 5 vulnerabilities (4 low, 1 high)
run `npm audit fix` to fix them, or `npm audit` for details
> magicmirror@2.9.0 postinstall /home/pi/MagicMirror
> sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts
MagicMirror installation successful!
> magicmirror@2.9.0 install-fonts /home/pi/MagicMirror
> cd fonts && npm install
audited 1 package in 1.385s
found 0 vulnerabilities
npm WARN acorn-jsx@5.0.2 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself.
updated 1 package and audited 3475 packages in 106.649s
found 28 vulnerabilities (1 low, 1 moderate, 26 high)
run `npm audit fix` to fix them, or `npm audit` for details
processing dependency changes for active modules with package.json files
processing for module MMM-Carousel please wait
----------------------------------
audited 859 packages in 13.644s
found 2 high severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
processing complete for module MMM-Carousel
processing for module MMM-PublicTransportHafas please wait
----------------------------------
audited 41 packages in 3.408s
found 0 vulnerabilities
processing complete for module MMM-PublicTransportHafas
processing for module MMM-PublicTransportHafas please wait
----------------------------------
audited 41 packages in 2.67s
found 0 vulnerabilities
processing complete for module MMM-PublicTransportHafas
processing for module MMM-PublicTransportHafas please wait
----------------------------------
audited 41 packages in 3.904s
found 0 vulnerabilities
processing complete for module MMM-PublicTransportHafas
restoring custom.css
upgrade.log
Upgrade started - Mi Okt 16 22:11:36 CEST 2019
user requested to force apply changes
doing test run = false
saving custom.css
not english or locale not set, set git alias
remote name = origin
upgrading from version 2.9.0 to 2.9.0
fetching latest revisions
current branch = master
Auf Branch master
Ihr Branch ist auf demselben Stand wie 'origin/master'.
Zum Commit vorgemerkte Änderungen:
(benutzen Sie "git reset HEAD <Datei>..." zum Entfernen aus der Staging-Area)
gelöscht: css/custom.css
Änderungen, die nicht zum Commit vorgemerkt sind:
(benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
(benutzen Sie "git checkout -- <Datei>...", um die Änderungen im Arbeitsverzeichnis zu verwerfen)
geändert: package-lock.json
geändert: vendor/package-lock.json
Unversionierte Dateien:
(benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
$
%logfile
core
css/save_custom.css
installers/dumpactivemodules.js
installers/pm2_MagicMirror_new.json
installers/stashed_files
installers/upgrade.log.bak2
mm.sh
nohup.out
there are 2 local files that are different than the master repo
package-lock.json
vendor/package-lock.json
save/restore files selection = n
restoring package-lock.json from repo
restoring vendor/package-lock.json from repo
test merge result rc='' , if empty, no conflicts
executing merge, apply specified
merge result rc= 0
Already up to date.
processor architecture is armv7l
updating MagicMirror runtime, please wait
> magicmirror@2.9.0 install /home/pi/MagicMirror
> cd vendor && npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
audited 220 packages in 13.98s
found 5 vulnerabilities (4 low, 1 high)
run `npm audit fix` to fix them, or `npm audit` for details
> magicmirror@2.9.0 postinstall /home/pi/MagicMirror
> sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts
[32mMagicMirror installation successful!
> magicmirror@2.9.0 install-fonts /home/pi/MagicMirror
> cd fonts && npm install
audited 1 package in 1.385s
found 0 vulnerabilities
npm WARN acorn-jsx@5.0.2 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself.
updated 1 package and audited 3475 packages in 106.649s
found 28 vulnerabilities (1 low, 1 moderate, 26 high)
run `npm audit fix` to fix them, or `npm audit` for details
processing dependency changes for active modules with package.json files
processing for module MMM-Carousel please wait
----------------------------------
audited 859 packages in 13.644s
found 2 high severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
processing complete for module MMM-Carousel
processing for module MMM-PublicTransportHafas please wait
----------------------------------
audited 41 packages in 3.408s
found 0 vulnerabilities
processing complete for module MMM-PublicTransportHafas
processing for module MMM-PublicTransportHafas please wait
----------------------------------
audited 41 packages in 2.67s
found 0 vulnerabilities
processing complete for module MMM-PublicTransportHafas
processing for module MMM-PublicTransportHafas please wait
----------------------------------
audited 41 packages in 3.904s
found 0 vulnerabilities
processing complete for module MMM-PublicTransportHafas
restoring custom.css
removing git alias
Upgrade ended - Mi Okt 16 22:14:11 CEST 2019
do I need to akt in any way here or other point?
npm WARN acorn-jsx@5.0.2 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself.