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.

    magic-mirror-voice

    Scheduled Pinned Locked Moved Troubleshooting
    8 Posts 3 Posters 3.4k 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.
    • ? Offline
      A Former User
      last edited by

      While I had no problems to get the sample app to work,
      I have problems with the module installation - It will not work.
      When I do the npm install in the magic-mirror-voice directory, I get
      magic-mirror-voice@1.0.0 No repository field
      at the end.

      What does it mean ? And could this be the reason that it does not work ?
      How can I do more tests ? Setting debug : true does not give me anything.
      Thanks.

      strawberry 3.141S ? 2 Replies Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @Guest
        last edited by

        @howi42 magic-mirror-voice@1.0.0 No repository field is just a warning and can be ignored by your side

        Please create a github issue if you need help, so I can keep track

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @Guest
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by

            Thanks.
            I am probably missunderstanding the instructions, as I have the feeling that things are missing.
            When doing the sample app, a lot of actions had to be done at the end, through terminals.
            Is something similar to this not needed to get the module up and running ?
            Thanks.

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by

              Is there a way to debug this module ?
              Setting debug : true
              does not seem to do anything.
              On the screen is says :
              Loading…
              but that seems to stay there forever.

              Thanks.

              strawberry 3.141S 1 Reply Last reply Reply Quote 0
              • strawberry 3.141S Offline
                strawberry 3.141 Project Sponsor Module Developer @Guest
                last edited by

                @howi42 after a quick look into the module, it seems that the module doen’t make use of it’s config option debug

                Please create a github issue if you need help, so I can keep track

                1 Reply Last reply Reply Quote 1
                • ? Offline
                  A Former User
                  last edited by

                  Here is an error message ( when starting as serveronly ):
                  Whoops! There was an uncaught exception…
                  { Error: Cannot find module ‘…/build/jvm_dll_path.json’
                  at Function.Module._resolveFilename (module.js:469:15)
                  at Function.Module._load (module.js:417:25)
                  at Module.require (module.js:497:17)
                  at require (internal/module.js:20:19)
                  at Object. (/home/pi/MagicMirror/modules/magic-mirror-voice/node_modules/java/lib/nodeJavaBridge.js:3:21)
                  at Module._compile (module.js:570:32)
                  at Object.Module._extensions…js (module.js:579:10)
                  at Module.load (module.js:487:32)
                  at tryModuleLoad (module.js:446:12)
                  at Function.Module._load (module.js:438:3)
                  at Module.require (module.js:497:17)
                  at require (internal/module.js:20:19)
                  at Object. (/home/pi/MagicMirror/modules/magic-mirror-voice/node_modules/java/index.js:2:18)
                  at Module._compile (module.js:570:32)
                  at Object.Module._extensions…js (module.js:579:10)
                  at Module.load (module.js:487:32) code: ‘MODULE_NOT_FOUND’ }

                  Anything I can do ?
                  Thanks

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User
                    last edited by

                    Working my way through errors …

                    I am able to get it to load ( in serveronly mode ) :
                    After some time a message says :
                    Register Alexa Java Client by navigating to https://localhost:5555/provision/xxxxxxxxxxxxxxxxxxxxxxx
                    I have to do this manually to make the loading continue.
                    It then throws an error message, tells me that the client is registered with a token, finishes loading and when I say mirror mirror, I can talk to Alexa
                    and get an answer, but :

                    • the trigger works only once
                    • registering to get a token is fine, but not for each reboot/restart
                    • running not via serveronly will not work because of that

                    Here is probably something still wrong.

                    Any ideas ?
                    Thanks

                    Thanks

                    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