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.

    Error after typing npm start

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 2 Posters 2.0k 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.
    • D Offline
      dr2man
      last edited by

      I initially get these errors below:
      C:\Users\ron_000>npm start
      npm ERR! code ENOENT
      npm ERR! syscall open
      npm ERR! path C:\Users\ron_000\package.json
      npm ERR! errno -4058
      npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open ‘C:\Users\ron_000\package.json’
      npm ERR! enoent This is related to npm not being able to find a file.
      npm ERR! enoent

      npm ERR! A complete log of this run can be found in: C:\Users\ron_000\AppData\Local\npm-cache_logs\2024-02-02T23_48_46_079Z-debug-0.log

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

        @dr2man said in Error after typing npm start:

        After running the npm start command

        Screenshot_20240202_172413_Chrome.jpg

        and the doc is wrong

        change to “node_modules…”
        drop the

        .\\
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @dr2man
          last edited by sdetweil

          @dr2man said in Error after typing npm start:

          C:\Users\ron_000>npm start
          npm ERR! code ENOENT

          you always have to be in the MagicMirror folder when issuing npm start
          or other commands for MagicMirror

          so,
          cd MagicMirror
          then
          npm start

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • D Offline
            dr2man @sdetweil
            last edited by

            @sdetweil Thank you so much for your help, I had surgery last week and recuperating, and I will be getting back to the project soon.

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

              @dr2man no rush… whenever you get appropriate time. thanks for the update

              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