MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. dbrett25
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    dbrett25

    @dbrett25

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    dbrett25 Unfollow Follow

    Latest posts made by dbrett25

    • NPM RUN CONFIG:CHECK not working

      Hi all,

      I had to get a new SD for my raspberry and i am currently redoing my magic mirror. I’m having issues when trying to run Config checker, even when using the sample config. My MM starts up fine but as i start adding modules i want to be able to check it etc.

      This is the error i get:

      [2020-08-03 17:39:15.028] [LOG] Line 1 col 1 Definition for rule ‘prettier/prettier’ was not found.
      /home/pi/MagicMirror/js/check_config.js:66
      throw new Error(“Wrong syntax in config file!”);
      ^

      Error: Wrong syntax in config file!
      at /home/pi/MagicMirror/js/check_config.js:66:10
      at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.12.0 config:check: node js/check_config.js
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.12.0 config:check script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      I’ve tried googling but without any luck so i’m hoping somebody on here might have some knowledge!

      Thanks in advance :)

      posted in Troubleshooting
      D
      dbrett25