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.

    MMM-plex-recently-added

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    4 Posts 3 Posters 1.3k Views 4 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
      JohnBachini
      last edited by broberg

      Hi, just started trying to set up magicmirror and am having problem with MMM-plex-recently-added module, when running get error about plex-api module, but cant any information about this module .
      Thank you for any help

      [08:43:43.559] [LOG]    Starting MagicMirror: v2.10.1
      [08:43:43.562] [LOG]    Loading config ...
      [08:43:43.564] [LOG]    Loading module helpers ...
      [08:43:43.565] [LOG]    No helper found for module: alert.
      [08:43:43.592] [LOG]    Initializing new module helper ...
      [08:43:43.592] [LOG]    Module helper loaded: updatenotification
      [08:43:43.594] [LOG]    No helper found for module: clock.
      [08:43:43.839] [LOG]    Initializing new module helper ...
      [08:43:43.840] [LOG]    Module helper loaded: calendar
      [08:43:43.841] [LOG]    No helper found for module: compliments.
      [08:43:43.842] [LOG]    No helper found for module: currentweather.
      [08:43:43.842] [LOG]    No helper found for module: weatherforecast.
      [08:43:43.844] [LOG]    Initializing new module helper ...
      [08:43:43.844] [LOG]    Module helper loaded: mmm-hue-lights
      [08:43:43.846] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'plex-api'
      [08:43:43.846] [LOG]    Loading module helpers ...
      [08:43:43.846] [LOG]    No helper found for module: alert.
      [08:43:43.847] [LOG]    Initializing new module helper ...
      [08:43:43.847] [LOG]    Module helper loaded: updatenotification
      [08:43:43.847] [LOG]    No helper found for module: clock.
      [08:43:43.847] [LOG]    Initializing new module helper ...
      [08:43:43.847] [LOG]    Module helper loaded: calendar
      [08:43:43.848] [LOG]    No helper found for module: compliments.
      [08:43:43.848] [LOG]    No helper found for module: currentweather.
      [08:43:43.848] [LOG]    No helper found for module: weatherforecast.
      [08:43:43.848] [LOG]    Initializing new module helper ...
      [08:43:43.848] [LOG]    Module helper loaded: mmm-hue-lights
      [08:43:43.849] [ERROR]  App threw an error during load
      [08:43:43.849] [ERROR]  Error: Cannot find module 'plex-api'
          at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
          at Function.Module._resolveFilename (/home/john/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
          at Function.Module._resolveFilename (/home/john/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Function.Module._load (internal/modules/cjs/loader.js:528:25)
          at Module.require (internal/modules/cjs/loader.js:658:17)
          at require (internal/modules/cjs/helpers.js:20:18)
          at Object.<anonymous> (/home/john/MagicMirror/modules/MMM-plex-recently-added/plex.js:1:170)
          at Object.<anonymous> (/home/john/MagicMirror/modules/MMM-plex-recently-added/plex.js:45:3)
          at Module._compile (internal/modules/cjs/loader.js:711:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
      [08:43:43.850] [LOG]    Whoops! There was an uncaught exception...
      [08:43:43.850] [ERROR]  { Error: Cannot find module 'plex-api'
          at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
          at Function.Module._resolveFilename (/home/john/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
          at Function.Module._resolveFilename (/home/john/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Function.Module._load (internal/modules/cjs/loader.js:528:25)
          at Module.require (internal/modules/cjs/loader.js:658:17)
          at require (internal/modules/cjs/helpers.js:20:18)
          at Object.<anonymous> (/home/john/MagicMirror/modules/MMM-plex-recently-added/plex.js:1:170)
          at Object.<anonymous> (/home/john/MagicMirror/modules/MMM-plex-recently-added/plex.js:45:3)
          at Module._compile (internal/modules/cjs/loader.js:711:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10) code: 'MODULE_NOT_FOUND' }
      [08:43:43.854] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      [08:43:43.855] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      [08:43:43.947] [LOG]    Launching application.
      ^C[08:43:59.685] [LOG]    Shutting down server...
      [08:43:59.688] [LOG]    Stopping module helper: updatenotification
      [08:43:59.689] [LOG]    Stopping module helper: calendar
      [08:43:59.690] [LOG]    Stopping module helper: mmm-hue-lights
      [08:43:59.690] [LOG]    Stopping module helper: updatenotification
      [08:43:59.691] [LOG]    Stopping module helper: calendar
      [08:43:59.691] [LOG]    Stopping module helper: mmm-hue-lights
      
      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @JohnBachini
        last edited by

        @JohnBachini said in MMM-plex-recently-added:

        Cannot find module ‘plex-api’

        there is a package.json file for this module, which lists the plex-api as a dependency
        according to the instructions

        Installation
        Clone this repo
        run npm install in the cloned folder
        

        you need to do

        cd ~/MagicMirror/modules/MMM-plex-recently-added
        npm install
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • T Offline
          tomyboy96 Project Sponsor
          last edited by

          How did u find the token?

          Trying to add this module but can’t seem to find a token anywhere. Looked at the Plex Guide for finding the token but didn’t help me at all…

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

            @tomyboy96 the readme says

            Get your plex token (https://support.plex.tv/hc/en-us/articles/204059436-Finding-your-account-token-X-Plex-Token)
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            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