MagicMirror Forum

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

    SOLVED Node Module not recognized

    Troubleshooting
    3
    10
    104
    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.
    • H
      hgspaeth last edited by

      I am getting this when i try to start npm, not sure what to do. I recently tried to install homebridge on the same system, so maybe something went haywire?

      Screenshot_1.png

      swvalenti 1 Reply Last reply Reply Quote 0
      • swvalenti
        swvalenti Project Sponsor @hgspaeth last edited by

        This post is deleted!
        swvalenti 1 Reply Last reply Reply Quote 0
        • swvalenti
          swvalenti Project Sponsor @swvalenti last edited by

          Is this on a windows machine?

          H 1 Reply Last reply Reply Quote 0
          • H
            hgspaeth @swvalenti last edited by

            @swvalenti yes it is

            swvalenti 1 Reply Last reply Reply Quote 0
            • swvalenti
              swvalenti Project Sponsor @hgspaeth last edited by

              @hgspaeth yes, you cannot have the ./ in front… windows doesn’t understand that …

              H 1 Reply Last reply Reply Quote 0
              • H
                hgspaeth @swvalenti last edited by

                @swvalenti yeah, but i didnt do anything. i just did npm start and that happened, never happened before.

                What’s the fix?

                swvalenti 1 Reply Last reply Reply Quote 0
                • swvalenti
                  swvalenti Project Sponsor @hgspaeth last edited by

                  @hgspaeth try removing the display and leading in the package.json start line to the following…

                  "start":"node_modules/.bin/electron js/electron.js",
                  
                  H 1 Reply Last reply Reply Quote 0
                  • H
                    hgspaeth @swvalenti last edited by

                    @swvalenti

                    Doesn’t even look like I have that file

                    148a8457-65d2-40a3-8300-1d7a9c2fd54d-image.png

                    aa2a7fa4-410e-4f90-9cb6-a08317b8fdd6-image.png

                    swvalenti 1 Reply Last reply Reply Quote 0
                    • swvalenti
                      swvalenti Project Sponsor @hgspaeth last edited by

                      @hgspaeth sorry looks like you’re running 2.13 not too familiar with that release

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        sdetweil @swvalenti last edited by sdetweil

                        @swvalenti the latest node/npm versions screws up the npm command paths

                        have to replace / w \\
                        and u cannot have the leading dot…

                        grrrr no respect for running syatems

                        Sam

                        Create a working config
                        How to add modules

                        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