MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    (solved) MM 2.18 - skipping optional Dependencys

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 2 Posters 1.2k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O Offline
      OberfragGER
      last edited by OberfragGER

      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 tsutils
      

      Both 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 $
      
      
      O 1 Reply Last reply Reply Quote 0
      • O Offline
        OberfragGER @OberfragGER
        last edited by

        Ich have found the answer by meyself.

        npm install --no-optional
        npm install typescript
        npm install tsutils
        
        S 1 Reply Last reply Reply Quote 1
        • S Do not disturb
          sdetweil @OberfragGER
          last edited by sdetweil

          @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.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          O 1 Reply Last reply Reply Quote 0
          • O Offline
            OberfragGER @sdetweil
            last edited by

            @sdetweil Youre right,
            but my inner monk says… warnings are no good. Please fix it ;)

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @OberfragGER
              last edited by

              @oberfragger we cannot fix it… not our code and no overide of messages is available

              same as Audit

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              O 1 Reply Last reply Reply Quote 0
              • O Offline
                OberfragGER @sdetweil
                last edited by OberfragGER

                @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 😉”

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy