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

Node Module not recognized

Scheduled Pinned Locked Moved Solved Troubleshooting
10 Posts 3 Posters 1.1k 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.
  • S Offline
    swvalenti Project Sponsor @hgspaeth
    last edited by Apr 17, 2022, 4:20 PM

    This post is deleted!
    S 1 Reply Last reply Apr 17, 2022, 4:23 PM Reply Quote 0
    • S Offline
      swvalenti Project Sponsor @swvalenti
      last edited by Apr 17, 2022, 4:23 PM

      Is this on a windows machine?

      H 1 Reply Last reply Apr 17, 2022, 4:24 PM Reply Quote 0
      • H Offline
        hgspaeth @swvalenti
        last edited by Apr 17, 2022, 4:24 PM

        @swvalenti yes it is

        S 1 Reply Last reply Apr 17, 2022, 4:25 PM Reply Quote 0
        • S Offline
          swvalenti Project Sponsor @hgspaeth
          last edited by Apr 17, 2022, 4:25 PM

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

          H 1 Reply Last reply Apr 17, 2022, 4:27 PM Reply Quote 0
          • H Offline
            hgspaeth @swvalenti
            last edited by Apr 17, 2022, 4:27 PM

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

            What’s the fix?

            S 1 Reply Last reply Apr 17, 2022, 4:35 PM Reply Quote 0
            • S Offline
              swvalenti Project Sponsor @hgspaeth
              last edited by Apr 17, 2022, 4:35 PM

              @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 Apr 17, 2022, 4:37 PM Reply Quote 0
              • H Offline
                hgspaeth @swvalenti
                last edited by Apr 17, 2022, 4:37 PM

                @swvalenti

                Doesn’t even look like I have that file

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

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

                S 1 Reply Last reply Apr 17, 2022, 4:40 PM Reply Quote 0
                • S Offline
                  swvalenti Project Sponsor @hgspaeth
                  last edited by Apr 17, 2022, 4:40 PM

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

                  S 1 Reply Last reply Apr 17, 2022, 5:09 PM Reply Quote 0
                  • S Offline
                    sdetweil @swvalenti
                    last edited by sdetweil Apr 17, 2022, 6:57 PM Apr 17, 2022, 5:09 PM

                    @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
                    1 / 1
                    • First post
                      6/10
                      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