Read the statement by Michael Teeuw here.
(solved) MM 2.18 - skipping optional Dependencys
-
Hi,
after a regular Update MM2.17 -> 2.18 ich recieved the Warning:
MagicMirror installation finished successfully! > magicmirror@2.18.0 prepare /home/pi/MagicMirror > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed. husky - Git hooks installed npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^2.3.2 (node_modules/jest-haste-map/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 WARN tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.Somehow- what do i have to perform to install this dependency…?
npm install typescript npm install tsutilsBoth have been sucessful.
This is hindering me to update NPM to Version 8.x.
pi@MagicMirror:~/MagicMirror $ npm install fsevents npm ERR! code EBADPLATFORM npm ERR! notsup Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm ERR! notsup Valid OS: darwin npm ERR! notsup Valid Arch: any npm ERR! notsup Actual OS: linux npm ERR! notsup Actual Arch: arm npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2022-01-13T11_54_19_577Z-debug.log pi@MagicMirror:~/MagicMirror $ -
Ich have found the answer by meyself.
npm install --no-optional npm install typescript npm install tsutils -
@oberfragger I don’t understand.
these optional libs are platform dependent.
as such the fsevents uses macos only functions and CANNOT run on Linux/pi…
that is why they are OPTIONAL
no error if not installed.
-
@sdetweil Youre right,
but my inner monk says… warnings are no good. Please fix it ;) -
@oberfragger we cannot fix it… not our code and no overide of messages is available
same as Audit
-
@sdetweil No. This fix it was not meant by you- it was for me… “but my inner monk says (to myself)… warnings are no good. Please fix it 😉”
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login