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.

    Node Module not recognized

    Scheduled Pinned Locked Moved Solved Troubleshooting
    10 Posts 3 Posters 1.5k 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.
    • H Offline
      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

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

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

          Is this on a windows machine?

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

            @swvalenti yes it is

            swvalentiS 1 Reply Last reply Reply Quote 0
            • swvalentiS Offline
              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 Offline
                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?

                swvalentiS 1 Reply Last reply Reply Quote 0
                • swvalentiS Offline
                  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 Offline
                    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

                    swvalentiS 1 Reply Last reply Reply Quote 0
                    • swvalentiS Offline
                      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 Offline
                        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

                        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