Hi -
I’ve been trying to install Magic Mirror. I’m on a Pi 4B, running Buster because the more recent update doesn’t seem to get along too well right now.
I’ve installed it, had to delete and start again because something somewhere went wrong in the last install, or maybe somewhere along the way when I tried changing a compliment or hte weather settings or something.
ANyway, now I keep getting this error:
Failed at the playwright@1.17.1 install script
the full text looks like this:
pi@HALpiThousand:~/MagicMirror $ npm install
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
> playwright@1.17.1 install /home/pi/MagicMirror/node_modules/playwright
> node install.js
internal/util.js:220
throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'original', 'Function');
^
TypeError [ERR_INVALID_ARG_TYPE]: The "original" argument must be of type Function
at promisify (internal/util.js:220:11)
at Object.<anonymous> (/home/pi/MagicMirror/node_modules/playwright-core/node_modules/extract-zip/index.js:11:18)
at Module._compile (module.js:649:30)
at Object.Module._extensions..js (module.js:660:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)
at Module.require (module.js:593:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/pi/MagicMirror/node_modules/playwright-core/lib/utils/browserFetcher.js:9:42)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! playwright@1.17.1 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the playwright@1.17.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2022-01-23T22_07_13_111Z-debug.log
So, obviously something somewhere is going screwy. I don’t know what or where, and not exactly being a master coder - more on the complete opposite end of that skill scale - even if I did in some vague way, I would have no idea why probably or what to do to make it behave.
That said, I can follow directions as easily as the next above-average IQ guy, so… Does anyone have an idea of what the problem is, and how I might fix it?
thanks