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.

    Depreciation Warning

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 3 Posters 2.3k 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.
    • J Offline
      jhwwhite
      last edited by

      I’ve very new to this, and I’m a little stuck. As far as I can tell I’ve followed all the instructions I could find, but I don’t know what to do from here. Any advice would be appreciated.

      (node:27999) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
      npm WARN package.json current-week-number@1.0.7 license should be a valid SPDX license expression
      npm WARN package.json rrule-alt@2.2.8 No license field.
      npm WARN package.json valid-url@1.0.9 No license field.
      npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
      npm ERR! Error: Method Not Allowed
      npm ERR!     at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
      npm ERR!     at /usr/share/npm/lib/cache/add-named.js:203:12
      npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
      npm ERR!     at FSReqWrap.oncomplete (fs.js:135:15)
      npm ERR! If you need help, you may report this *entire* log,
      npm ERR! including the npm and node versions, at:
      npm ERR!     <http://github.com/npm/npm/issues>
      
      npm ERR! System Linux 4.14.79-v7+
      npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
      npm ERR! cwd /home/pi/MagicMirror
      npm ERR! node -v v8.11.1
      npm ERR! npm -v 1.4.21
      npm ERR! code E405
      npm ERR! 
      npm ERR! Additional logging details can be found in:
      npm ERR!     /home/pi/MagicMirror/npm-debug.log
      npm ERR! not ok code 0
      
      1 Reply Last reply Reply Quote 0
      • bheplerB Offline
        bhepler Module Developer
        last edited by

        The good news is that the deprecation warning is just that: a warning. It’s more of a notice to the developers that they should move to a different package when building their systems.

        The bad news is that is definitely a bug somewhere. At first blush, it looks like one of the parameters isn’t being passed to the npm registry correctly. Is this during your initial MM install?

        1 Reply Last reply Reply Quote 0
        • J Offline
          jhwwhite
          last edited by

          Yes. I’m going to try tor reinstall again. (Although, that didn’t work last time.) Any advice is appreciated.

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by

            I have the same problem.

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by

              I solved this link!

              https://forum.magicmirror.builders/topic/9258/unable-to-install-dependencies/

              1 Reply Last reply Reply Quote 0

              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
              • 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