MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    Modules aren't showing, npm error

    Troubleshooting
    3
    9
    218
    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
      M3GNOON last edited by

      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 Reply Quote 0
      • S
        sdetweil @M3GNOON last edited by

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

        /home/pi/package.json

        you need to be in the MagicMirror folder

        cd ~/MagicMirror

        Sam

        Create a working config
        How to add modules

        M 1 Reply Last reply Reply Quote 1
        • M
          M3GNOON @sdetweil last edited by

          @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
          • BKeyport
            BKeyport Module Developer last edited by BKeyport

            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 Reply Quote 0
            • S
              sdetweil @BKeyport last edited by

              @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

              Create a working config
              How to add modules

              M 1 Reply Last reply Reply Quote 0
              • M
                M3GNOON @sdetweil last edited by

                @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 Reply Quote 0
                • S
                  sdetweil @M3GNOON last edited by sdetweil

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

                  Sam

                  Create a working config
                  How to add modules

                  BKeyport 1 Reply Last reply Reply Quote 0
                  • BKeyport
                    BKeyport Module Developer @sdetweil last edited by

                    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 Reply Quote 0
                    • M
                      M3GNOON @BKeyport last edited by

                      @BKeyport @sdetweil

                      Yeah. Going to do it manually. Thanks for the help. Appreciate 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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy