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.

    NPM RUN CONFIG:CHECK not working

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 546 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
      dbrett25
      last edited by

      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 :)

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

        yes, its broken on 2.12

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          see the pinned topic at the top on Troubleshooting section for work around

          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