• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Hello-Lucy installation troubles

Scheduled Pinned Locked Moved Unsolved Troubleshooting
31 Posts 4 Posters 7.5k Views 4 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 Away
    sdetweil @sdetweil
    last edited by Feb 25, 2020, 5:45 PM

    we may have to start over, as I have no idea what ‘installer’ u have been running or how

    cd ~/MagicMirror/modules
    rm -rf MMM-Hello-Lucy
    Then git clone Mykles repo
    cd MMM-Hello-Lucy
    cd installers
    ./dependencies.sh
    cd ..
    npm install
    

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • S Offline
      SSkull995 @sdetweil
      last edited by Feb 25, 2020, 6:42 PM

      @sdetweil actually I have dependencies.sh, because the ./ makes it invisible even if it was there. Typing ls in installers makes me see the normal dependencies.sh

      S 1 Reply Last reply Feb 25, 2020, 7:01 PM Reply Quote 0
      • S Away
        sdetweil @SSkull995
        last edited by Feb 25, 2020, 7:01 PM

        @SSkull995 but it is not in the path, do you have to use ./ to select it

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer
          last edited by Mykle1 Feb 26, 2020, 3:14 AM Feb 26, 2020, 3:13 AM

          From the readme

          Please complete all 3

          Open a terminal.

          git clone https://github.com/mykle1/Hello-Lucy into the ~/MagicMirror/modules directory

          Then
          cd Hello-Lucy/installers

          Then
          bash dependencies.sh

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • S Offline
            SSkull995
            last edited by SSkull995 Feb 26, 2020, 2:33 PM Feb 26, 2020, 2:13 PM

            I can see I did not really explained myself, and I am sorry for that. I did the three passages of yours in the readme, and after reinstalling everything now it does not show me any error during installation! Yes!
            BUT, now I run MagicMirror with the module installed and put in the config.js, and this message comes up:

            No helper found for module: alert.
            [15:12:13.980] [ERROR] WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: SyntaxError: Unexpected token ] in JSON at position 6643

            This occurs only when I put the module in config.js, but I don’t know where the error is, what is the JSON file?
            Many thanks and sorry!

            M 2 Replies Last reply Feb 27, 2020, 1:16 AM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @SSkull995
              last edited by Feb 27, 2020, 1:16 AM

              @SSkull995 said in Hello-Lucy installation troubles:

              This occurs only when I put the module in config.js, but I don’t know where the error is

              I see. I just did an install on a new machine and encountered the same error. I’m looking into it. Even my working Lucy installation is suffering the same error. Weird.

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • M Offline
                Mykle1 Project Sponsor Module Developer @SSkull995
                last edited by Feb 27, 2020, 3:32 AM

                @SSkull995 said in Hello-Lucy installation troubles:

                First, forgive me. This entire issue was my fault.

                I recently added some defaults to the checkCommands.json file and left a trailing comma at the end of the file. I’ve corrected the problem, tested it and pushed the corrected file to the repo. To clear the SyntaxError: Unexpected token ] in JSON at position 6643 error, following this instruction.

                Do a git pull in the Hello-Lucy directory.

                Please advise on the result. :-)

                Create a working config
                How to add modules

                S 2 Replies Last reply Feb 27, 2020, 7:01 AM Reply Quote 0
                • S Offline
                  SSkull995 @Mykle1
                  last edited by Feb 27, 2020, 7:01 AM

                  @Mykle1 Perfect! I will do it right now, let me just boot my raspi. Many thanks and sorry once more, I was into solving this problem, but I could not figure out where the json was ahah!

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    SSkull995 @Mykle1
                    last edited by Feb 27, 2020, 7:16 AM

                    @Mykle1 You are the man! Now it works without problems! I just can’t get my intro .mp3 work, but that is simple fix. Many thanks Mykle! Have a nice day and sorry for the problems :)

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      SSkull995
                      last edited by SSkull995 Feb 27, 2020, 5:31 PM Feb 27, 2020, 9:31 AM

                      Ok so, troubles again sorry! I just restarted MM and now Lucy starts but does not hide my modules and does not get the starting phrase. The microphone is working as the speaker, and the modules are the same as before.
                      No clue why this occurs, no errors during MM startup

                      Edit:
                      I notice that the intro voice starts, as well as the mic icon and the string “Say Hello Lucy”. However, all my modules are there, as the program does not hide them, and the start phrase is not recognised. I just used alsamixer to check the card number, which matches the config.js one. Further, I tried to record myself and the microphone works without problems, I can clearly hear my voice and the hello Lucy phrase.
                      Maybe something in the program is still making some troubles? Many thanks again Mykle!

                      So many edit:
                      Now when I start the MM, the microphone blinks barred, like no microphone. And it’s stated “Command Please”. It is weird, because I launched it and it froze on the “command” and no mic and no welcome phrases. Sometimes it starts tho, without really a scheme

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      2 / 4
                      • First post
                        17/31
                        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