Read the statement by Michael Teeuw here.
Failed update
-
@DarrenHill just had to fix it again…
the npm commandline parser is a mess
it sees this
"--omit=dev --no-audit --no-fund --no-update-notifier"
as this
--omit= "dev no-audit --no-fund --no-update-notifier "
grrrrr
-
@sdetweil said in Failed update:
@DarrenHill said in Failed update:
tr
rerun, I had to fix the order of parms on the npm install
just updated use force at the end now as 2.21 is installed but not setup
I assume you mean
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
It ran, but didn’t seem to help. Still got the same in the logs. Also tried “apply force” at the end just in case, no different.
The script also did display Unknown command: “dev” after each module listing, which may relate to your second post above? An example below - the same appears for all the modules.
No LSB modules are available. doing test run = false update log will be in /home/pi/MagicMirror/installers/upgrade.log Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v16.9.1 Installed Node version: v16.17.1 No Node.js upgrade necessary. Check current NPM installation ... NPM currently installed. Checking version number. Minimum npm version: V7.11.2 Installed npm version: V8.15.0 No npm upgrade necessary. saving custom.css (23) Failed writing body upgrading from version 2.21.0 to 2.21.0 fetching latest revisions updating MagicMirror runtime, please wait Unknown command: "dev" To see a list of supported npm commands, run: npm help Checking for modules with removed libraries processing dependency changes for active modules with package.json files processing for module MMM-ModuleScheduler please wait ---------------------------------- Unknown command: "dev"
-
@DarrenHill ok,I am w grandchild til 7 us Central…
-
@sdetweil said in Failed update:
@DarrenHill ok,I am w grandchild til 7 us Central…
No probs, take whatever time you need. Family comes first.
If you need any more logs etc, let me know (I’m in the UK, so about for another hour or two but can pick up tomorrow too).
-
@DarrenHill try this update took quotes off the literal
-
@sdetweil Doesn’t look good
pi@mirrorpi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/ MagicMirror_scripts/master/upgrade-script.sh)" force force: i#!/bin/bash: No such file or directory No LSB modules are available. doing test run = false update log will be in /home/pi/MagicMirror/installers/upgrade.log Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v16.9.1 Installed Node version: v16.17.1 No Node.js upgrade necessary. Check current NPM installation ... NPM currently installed. Checking version number. Minimum npm version: V7.11.2 Installed npm version: V8.15.0 No npm upgrade necessary. force: line 271: --no-fund: command not found saving custom.css upgrading from version 2.21.0 to 2.21.0 fetching latest revisions updating MagicMirror runtime, please wait npm WARN config only Use `--omit=dev` to omit dev dependencies from the install. npm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /home/pi/MagicMirror/node_modules/acorn npm ERR! dest /home/pi/MagicMirror/node_modules/.acorn-pnTZ3fig npm ERR! errno -39 npm ERR! ENOTEMPTY: directory not empty, rename '/home/pi/MagicMirror/node_modules/acorn' -> '/home/pi/MagicMirror/node_modules/.acorn-pnTZ3fig' npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2022-10-02T21_30_31_689Z-debug-0.log Checking for modules with removed libraries processing dependency changes for active modules with package.json files processing for module MMM-ModuleScheduler please wait ---------------------------------- npm WARN config only Use `--omit=dev` to omit dev dependencies from the install. added 3 packages, and audited 4 packages in 20s found 0 vulnerabilities processing complete for module MMM-ModuleScheduler processing for module MMM-DigClock please wait ---------------------------------- npm WARN config only Use `--omit=dev` to omit dev dependencies from the install. up to date, audited 1 package in 827ms found 0 vulnerabilities processing complete for module MMM-DigClock processing for module MMM-ping please wait ---------------------------------- npm WARN config only Use `--omit=dev` to omit dev dependencies from the install. added 3 packages, and audited 4 packages in 44s found 0 vulnerabilities processing complete for module MMM-ping processing for module MMM-network-signal please wait ---------------------------------- npm WARN config only Use `--omit=dev` to omit dev dependencies from the install. added 3 packages, and audited 4 packages in 3s found 0 vulnerabilities processing complete for module MMM-network-signal processing for module MMM-Space please wait ---------------------------------- npm WARN config only Use `--omit=dev` to omit dev dependencies from the install. up to date, audited 1 package in 843ms found 0 vulnerabilities processing complete for module MMM-Space processing for module MMM-NetworkScanner please wait ---------------------------------- npm WARN config only Use `--omit=dev` to omit dev dependencies from the install. added 7 packages, and audited 8 packages in 40s found 0 vulnerabilities processing complete for module MMM-NetworkScanner processing for module MMM-NewsAPI please wait ---------------------------------- npm WARN config only Use `--omit=dev` to omit dev dependencies from the install. 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/3142 added 52 packages, and audited 53 packages in 15s 2 packages are looking for funding run `npm fund` for details found 0 vulnerabilities processing complete for module MMM-NewsAPI processing for module MMM-Mail please wait ---------------------------------- npm WARN config only Use `--omit=dev` to omit dev dependencies from the install. npm WARN deprecated emailjs-tcp-socket@1.0.2: This project is no longer maintained. Please reach out if you want to hop on as a maintainer. added 10 packages, and audited 11 packages in 4s 3 vulnerabilities (2 moderate, 1 high) Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. processing complete for module MMM-Mail processing for module MMM-GmailFeed please wait ---------------------------------- npm WARN config only Use `--omit=dev` to omit dev dependencies from the install. 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/3142 added 50 packages, and audited 51 packages in 7s 2 packages are looking for funding run `npm fund` for details found 0 vulnerabilities processing complete for module MMM-GmailFeed restoring custom.css
I’m off to bed in a few moments, so feel free to take your time over it. Don’t interrupt your family time for it, it can wait a while.
Thanks as ever for the support and effort though.
-
@DarrenHill ok, try the latest… dang pi results different than other OS versons of npm
-
@sdetweil said in Failed update:
@DarrenHill ok, try the latest… dang pi results different than other OS versons of npm
Thanks - that’s fixed it :D