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.3k 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.
    • 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
                • 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