Read the statement by Michael Teeuw here.
ReferenceError: fetch is not defined
-
@ReD1470 what nodejs version are you running?
node -v
you need 20.9.0 or above, but not any v 21
the npm install should fail on v 2.29.0 as it checks the version too
my upgrade script is 2 part right?
without any parameters its it just a test, no changes
with a parameter it will DO the upgrade, nodejs too -
Yes node -v
v20.9.0Yes the install script was applied with apply
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” applyIf you want i can try and zip and post the upgrade.log
-
@ReD1470 note… IF you tried to do it manually, my script will abort if you try to auto upgrade again…
(I will not install updates over already updated)so you have to change apply to force, to FORCE the scrip to do it anyhow
don’t need the whole upgrade log just the last 20 lines
-
WOW that did alot… i think
but you sure now your stuf… problem fixed. I got my calender back
TNX!here are the last lines of the log
----------------------------------
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142added 48 packages, and audited 49 packages in 8s
2 packages are looking for funding
runnpm fund
for details2 moderate severity vulnerabilities
Some issues need review, and may require choosing
a different dependency.Run
npm audit
for details.processing complete for module MMM-SystemStats
restoring custom.css
removing git alias
Upgrade ended - Sun Oct 20 17:53:11 CEST 2024 -
@ReD1470 awesome. glad it’s working
-