• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Modules aren't showing, npm error

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 3 Posters 796 Views 3 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.
  • M Offline
    M3GNOON
    last edited by Jun 23, 2020, 7:07 PM

    3rd party modules aren’t showing or changes made in config.js is not working.

    npm run config:check:

    npm ERR! code ENOENT
    npm ERR! syscall open
    npm ERR! path /home/pi/package.json
    npm ERR! errno -2
    npm ERR! enoent ENOENT: no such file or directory, open ‘/home/pi/package.json’
    npm ERR! enoent This is related to npm not being able to find a file.
    npm ERR! enoent

    Newbie with magic mirror, any advice/directives appreciated.

    Thanks!

    S 1 Reply Last reply Jun 23, 2020, 7:11 PM Reply Quote 0
    • S Away
      sdetweil @M3GNOON
      last edited by Jun 23, 2020, 7:11 PM

      @M3GNOON said in Modules aren't showing, npm error:

      /home/pi/package.json

      you need to be in the MagicMirror folder

      cd ~/MagicMirror

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Jun 23, 2020, 7:24 PM Reply Quote 1
      • M Offline
        M3GNOON @sdetweil
        last edited by Jun 23, 2020, 7:24 PM

        @sdetweil

        Thanks! Ran the check in /MagicMirror and all is well.

        Still having issues with the 3rd party modules.
        I added a few to test with MMPM but do not see them displaying.
        -downloaded from market place page and see in local packages page but modules do not display and are not added into the config file.

        Am I missing a step?

        1 Reply Last reply Reply Quote 0
        • B Offline
          BKeyport Module Developer
          last edited by BKeyport Jun 23, 2020, 7:26 PM Jun 23, 2020, 7:25 PM

          Go back and double check that you followed their readme exactly. There’s specific instructions to follow for each module. They must also appear in your config, if that’s not clear from the readme.

          The "E" in "Javascript" stands for "Easy"

          S 1 Reply Last reply Jun 23, 2020, 7:29 PM Reply Quote 0
          • S Away
            sdetweil @BKeyport
            last edited by Jun 23, 2020, 7:29 PM

            @BKeyport He is using the MMPM module install tool… which reads the 3rd party module list, will download and install and etup config.js

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Jun 23, 2020, 7:38 PM Reply Quote 0
            • M Offline
              M3GNOON @sdetweil
              last edited by Jun 23, 2020, 7:38 PM

              @sdetweil @BKeyport

              Correct using MMPM. Wanted to see how it works and seemed easy enough to just click to download and install module and auto adds to config. I do see it was downloaded into the module dir but nothing in the config.js.

              Going to do so manually in cli but still interested in why this isn’t working using MMPM.

              S 1 Reply Last reply Jun 23, 2020, 7:54 PM Reply Quote 0
              • S Away
                sdetweil @M3GNOON
                last edited by sdetweil Jun 23, 2020, 7:55 PM Jun 23, 2020, 7:54 PM

                @M3GNOON you will have to ask the mmpm author, and post issue to his github page
                https://github.com/Bee-Mar/mmpm

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                B 1 Reply Last reply Jun 23, 2020, 11:19 PM Reply Quote 0
                • B Offline
                  BKeyport Module Developer @sdetweil
                  last edited by Jun 23, 2020, 11:19 PM

                  Ugh. I’d personally drop the tool and do it manually. It’s not that hard, honestly.

                  The "E" in "Javascript" stands for "Easy"

                  M 1 Reply Last reply Jun 24, 2020, 3:45 AM Reply Quote 0
                  • M Offline
                    M3GNOON @BKeyport
                    last edited by Jun 24, 2020, 3:45 AM

                    @BKeyport @sdetweil

                    Yeah. Going to do it manually. Thanks for the help. Appreciate it.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    1 / 1
                    • First post
                      1/9
                      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