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.

    No authorization at command input

    Scheduled Pinned Locked Moved Solved Troubleshooting
    11 Posts 2 Posters 3.3k 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
      sdetweil @Tavros
      last edited by

      @Tavros can u show the output of the

      npm run config:check

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • T Offline
        Tavros
        last edited by

        pi@raspberrypi:~/MagicMirror $ npm run config:check

        magicmirror@2.19.0 config:check /home/pi/MagicMirror > node js/check_config.js

        /home/pi/MagicMirror/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2383 const require$1 = Module.createRequire((typeof document === ‘undefined’ ? new equire(‘u’ + ‘rl’).URL) ('file: filename).href : (document.currentScript & document.currentScript.src || new URL(‘eslintrc.cjs’, document.baseURI).href)) A

        TypeError: Module.createRequire is not a function at Object. (/home/pi/MagicMirror/node_modules/@eslint/eslintrc/

        st/eslintrc.cjs:2383:26)

        at Module._compile (internal/modules/cjs/loader.js:776:30) at Object. Module._extensions…js (internal/modules/cjs/loader.js:787:10)

        at Module.load (internal/modules/cjs/loader.js: 653:32)

        at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function. Module._load (internal1/modules/cjs/loader.js:585:3)

        at Module.require (internal/modules/cjs/loader.js: 690:17) at require (internal/modules/cjs/helpers.js:25:18)

        at Object.<anonymous (/home/pi/MagicMirror/node_modules/eslint/lib/cli-en

        ne/cli-engine.js:33:5) at Module._compile (internal/modules/cjs/loader.js:776:30)

        npm ERR! code ELIFECYCLE

        npm ERR! errno 1

        I

        npm ERR! magicmirror@2.19.0 config:check: node js/check_config.js

        npm ERR! Exit status 1

        npm ERR!

        npm ERR! Failed at the magicmirror@2.19.0 config:check script. npm ERR! This is probably not a problem with npm. There is likely additional 1 ging output above.

        npm ERR! A complete log of this run can be found in:

        npm ERR!

        /home/pi/. npm/_logs/2022-04-04T17_07_40_905Z-debug.log

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

          sorry couldn’t add a picture. can you read something there?

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

            @Tavros said in No authorization at command input:

            Module.createRequire is not a function at Object.

            this is a known issue
            see
            https://github.com/MichMich/MagicMirror/issues/2772

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              Tavros @sdetweil
              last edited by

              @sdetweil thanks i did it. but the message still appears at "config/config.js

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

                @Tavros show the message again

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  Tavros @sdetweil
                  last edited by

                  @sdetweil
                  pi@raspberrypi:-/MagicMirror S config/config.js bash: config/config.js: Keine Berechtigung

                  pi@raspberrypi:~/MagicMirror $ config/ bash: config/: Ist ein Verzeichnis

                  pi@raspberrypi:~/MagicMirror config.js

                  bash: config.js: Kommando nicht gefunden.

                  pi@raspberrypi:~/MagicMirror $ npm run config: check

                  magicmirror@2.19.0 config:check > node js/check_config.js

                  [04.04.2022 21:58.25.956] [INFO] Checking file /home/pi/MagicMirror/config/config.js

                  [04.04.2022 21:58.26.243] [INFO] Your configuration file doesn’t contain syntax errors :) pi@raspberrypi:~/MagicMirror $

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

                    @Tavros you don’t EXECUTE config.js, it is USED by magic mirror

                    npm start
                    

                    you can edit it, just a text file

                    nano config.js
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    T 2 Replies Last reply Reply Quote 0
                    • T Offline
                      Tavros @sdetweil
                      last edited by

                      @sdetweil okaaayy i’m a beginner. I’ll try it tomorrow then. Thanks!

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        Tavros @sdetweil
                        last edited by

                        @sdetweil as works, thank you!

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 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