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.

    New to MM

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 3 Posters 2.5k Views 3 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.
    • J Offline
      jorgeg73
      last edited by yawns

      Having this error, cant see were is the problem. some can help?
      And how can i set the default calendar to mexico holidays?

      webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics

      Thanks all

      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'config:check' ]
      2 info using npm@3.10.10
      3 info using node@v6.13.0
      4 verbose config Skipping project config: /home/pi/.npmrc. (matches userconfig)
      5 verbose stack Error: ENOENT: no such file or directory, open '/home/pi/package.json'
      5 verbose stack     at Error (native)
      6 verbose cwd /home/pi
      7 error Linux 4.9.59-v7+
      8 error argv "/usr/bin/node" "/usr/bin/npm" "run" "config:check"
      9 error node v6.13.0
      10 error npm  v3.10.10
      11 error path /home/pi/package.json
      12 error code ENOENT
      13 error errno -2
      14 error syscall open
      15 error enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      16 error enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      16 error enoent This is most likely not a problem with npm itself
      16 error enoent and is related to npm not being able to find a file.
      17 verbose exit [ -2, true ]
      
      lavolp3L 1 Reply Last reply Reply Quote 0
      • lavolp3L Offline
        lavolp3 Module Developer @jorgeg73
        last edited by

        @jorgeg73 said in New to MM:

        You’re using Raspbian Stretch!?
        A lot of people here have had problems with stretch, though I don’t know if they are the same
        It’s still advisable to use Raspbian Jessie instead of the newer Raspbian Stretch

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        J 1 Reply Last reply Reply Quote 0
        • P Offline
          pinsdorf Module Developer
          last edited by

          @jorgeg73 said in New to MM:

          5 verbose stack Error: ENOENT: no such file or directory, open '/home/pi/package.json’

          I’m wondering, why node is expecting the file package.json in the home directory /home/piand not in /home/pi/MagicMirror?!

          Are you running npm start from within the MagicMirror directory, i.e. did you do cd ~/MagicMirror first?

          J 1 Reply Last reply Reply Quote 1
          • P Offline
            pinsdorf Module Developer
            last edited by

            Regarding Mexican holidays: there are free calendars available, e.g. here https://www.calendarlabs.com/ical-calendar/holidays/mexico-holidays-60/. I don’t know the exact URL to configure MM’s calendar module, but I’d start with the download link’s URL on this page.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jorgeg73 @lavolp3
              last edited by

              @lavolp3 yes on this one i will reinstall to jessie, the error didnt appear after several days. thanks

              1 Reply Last reply Reply Quote 0
              • J Offline
                jorgeg73 @pinsdorf
                last edited by

                @pinsdorf its on /home/pi/MagicMirror, I will reinstall , and after that i will report back and see if the problem comes back, thank you for the calendar too

                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