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 9.6k 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 Offline
      SSkull995 @sdetweil
      last edited by

      @sdetweil
      This is the output error when I run npm start. I generated the config.json with the npm init, no more errors during dependencies installation.

      [17:54:16.999] [ERROR] App threw an error during load
      [17:54:17.000] [ERROR] Error: Cannot find module ‘pocketsphinx-continuous’
      at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
      at Function.Module._resolveFilename (/home/pi/MM/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
      at Function.Module._resolveFilename (/home/pi/MM/node_modules/module-alias/index.js:49:29)
      at Function.Module._load (internal/modules/cjs/loader.js:528:25)
      at Module.require (internal/modules/cjs/loader.js:658:17)
      at require (internal/modules/cjs/helpers.js:20:18)
      at Object. (/home/pi/MM/modules/Hello-Lucy/node_helper.js:2:13)
      at Object. (/home/pi/MM/modules/Hello-Lucy/node_helper.js:410:3)
      at Module._compile (internal/modules/cjs/loader.js:711:30)
      at Object.Module._extensions…js (internal/modules/cjs/loader.js:722:10)
      [17:54:17.002] [LOG] Whoops! There was an uncaught exception…
      [17:54:17.002] [ERROR] { Error: Cannot find module ‘pocketsphinx-continuous’
      at Module._resolveFilename (internal/modules/cjs/loader.js:602:15)
      at Function.Module._resolveFilename (/home/pi/MM/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
      at Function.Module._resolveFilename (/home/pi/MM/node_modules/module-alias/index.js:49:29)
      at Function.Module._load (internal/modules/cjs/loader.js:528:25)
      at Module.require (internal/modules/cjs/loader.js:658:17)
      at require (internal/modules/cjs/helpers.js:20:18)
      at Object. (/home/pi/MM/modules/Hello-Lucy/node_helper.js:2:13)
      at Object. (/home/pi/MM/modules/Hello-Lucy/node_helper.js:410:3)
      at Module._compile (internal/modules/cjs/loader.js:711:30)
      at Object.Module._extensions…js (internal/modules/cjs/loader.js:722:10) code: ‘MODULE_NOT_FOUND’ }

      There still is this:
      [STEP 3/5] Installing pocketsphinx | Done
      [STEP 4/5] Exporting paths
      [STEP 4/5] Exporting paths | Done
      [STEP 5/5] Installing npm dependencies
      dependencies.sh: line 89: cd: /root/MagicMirror/modules/Hello-Lucy: No such file or directory

      Why no directory in root? Many thanks and sorry!

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

        @SSkull995 you have to

        cd ~/MagicMirror/modules/MMM-Hello-Lucy/installers
        ./dependencies.sh
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          AND NOT sudo
          And logged on as normal user, not root

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil man, I never ran sudo.
            And I still don’t know why the program gives me the error about the config.json file and the dependencies.sh
            Btw, ./dependencies is no command

            S S 2 Replies Last reply Reply Quote 0
            • S Offline
              SSkull995 @SSkull995
              last edited by

              @SSkull995 just to be sure, I ran the program again, the installer. This time with the ./dependencies. Errors+no dependencies directory found

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

                @SSkull995 did u look in the folder?

                It’s ./dependencies.sh

                The only file in the module/installers folder

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  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

                    @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 Reply Quote 0
                    • S Offline
                      sdetweil @SSkull995
                      last edited by

                      @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
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer
                        last edited by Mykle1

                        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
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 4
                        • 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