MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Desert Rat
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    D
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 3
    • Posts 8
    • Groups 0

    Desert Rat

    @Desert Rat

    0
    Reputation
    4
    Profile views
    8
    Posts
    0
    Followers
    1
    Following
    Joined
    Last Online

    Desert Rat Unfollow Follow

    Latest posts made by Desert Rat

    • RE: Crontab to Restart Magic Mirror does not work

      @sdetweil Thanks Sam! I clearly need some education. Do you have a favorite set of training documentation for newbies

      Desert Rat

      posted in Bug Hunt
      D
      Desert Rat
    • RE: Crontab to Restart Magic Mirror does not work

      Problem resolved! Outstanding.

      My thanks to all who responded.

      My mission now is to research the provided solution and try to understand why it worked. Clearly the devil is in the details.

      Thanks again to all of you

      posted in Bug Hunt
      D
      Desert Rat
    • RE: Crontab to Restart Magic Mirror does not work

      @sdetweil
      Thanks for the quick reply. I changed the crontab. I actually changed it to PM2 START MagicMirror.

      The process I used was to , via the terminal, pm2 stop MagicMirror. This worked and MagicMirror was stopped sucessfully.
      Crontab was updated as above PM2 START MagicMirror.
      It did not start.

      Here are the entries from the log file

      Nov 27 13:44:01 raspberrypi CRON[3620]: (pi) CMD (SUDO PM2 START MagicMirror)
      Nov 27 13:44:01 raspberrypi CRON[3618]: (CRON) info (No MTA installed, discarding output)
      Nov 27 13:55:01 raspberrypi CRON[3661]: (root) CMD (sudo pm2 restart MagicMirror)
      Nov 27 13:55:04 raspberrypi CRON[3659]: (CRON) info (No MTA installed, discarding output)
      Nov 27 14:17:01 raspberrypi CRON[3772]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)

      posted in Bug Hunt
      D
      Desert Rat
    • Crontab to Restart Magic Mirror does not work

      I have researched all of the documentation I can find but have failed to resolve this problem.
      I can create a Crontab entry as follows 44 * * * * PM2 restart MagicMirror

      I created a second entry to put a date entry in a file each minute in the same crontab . This one works as expected.

      My research has exposed this kind of issue using pm2 and I’ve attempted to implement suggested resolutions. All were ineffective.

      Forgive me if I missed a posed solution but would greatly appreciate any assistance.

      Thanks

      posted in Bug Hunt
      D
      Desert Rat
    • Hello Lucy/Pages changed keyword to activate listening does not match on screen display.

      I changed the Hello Lucy with Pages keyword to activate listening to any entry other than HELLO LUCY and the on screen display still indicates Hello Lucy. Is there any way to change it so it matches the keyword to activate listening entry I made??

      Thanks for any assistance.

      {
      disabled: false,
      module: “AnyEntry”,
      position: “top_center”,
      config: {
      keyword: ‘HELLO LUCY’, // keyword to activate listening for a command/sentence
      timeout: 15, // timeout listening for a command/sentence
      standByMethod: ‘DPMS’, // ‘DPMS’ = anything else than RPi or ‘PI’
      microphone: “0,0”,

      posted in Troubleshooting
      D
      Desert Rat
    • RE: Hello-Lucy Install Part 5 Unable to resolve dependency tree

      Resolved

      As with most things in life it will take two things to get you in trouble. In this instance I experienced The Part 5 errors noted here. I spent a couple of day researching NPM before doing as indicated in the install error messages ( Change Production Value ). That change produced other warnings and I attempted to test but failed. In the end the install and Hello-Lucy worked as advertised. The second problem was a mini microphone.

      Thanks for the help!

      posted in Troubleshooting
      D
      Desert Rat
    • RE: Hello-Lucy Install Part 5 Unable to resolve dependency tree

      Thanks for the quick Response. I followed the install process from
      github mykle1 /Hello-Lucy . The steps I followed areshown below.

      3 Step Installation
      Please complete all 3

      git clone https://github.com/mykle1/Hello-Lucy into the ~/MagicMirror/modules directory
      cd Hello-Lucy/installers
      bash dependencies.sh
      

      Thanks Desert Rat

      posted in Troubleshooting
      D
      Desert Rat
    • Hello-Lucy Install Part 5 Unable to resolve dependency tree

      Re: Hello-Lucy installation troubles
      I’m new to the Forum and a have a problem installing Hello Lucy. I receive error messages, shown below, when running part 5 of the install.

      I followed all install instructions and verified my microphone and sound were working.

      Would appreciate any assistance on how to proceed to complete this installation.

      Thanks Desert-Rat

      From /home/pi/.npm/eresolve-report.txt

      npm resolution error report

      2021-02-15T21:37:19.700Z

      While resolving: Hello-Lucy@1.0.1
      Found: eslint@6.8.0
      node_modules/eslint
      dev eslint@“^6.8.0” from the root project

      Could not resolve dependency:
      peer eslint@“^3.19.0 || ^4.5.0” from eslint-config-airbnb-base@11.3.2
      node_modules/eslint-config-airbnb-base
      dev eslint-config-airbnb-base@“^11.0.1” from the root project

      Fix the upstream dependency conflict, or retry
      this command with --force, or --legacy-peer-deps
      to accept an incorrect (and potentially broken) dependency resolution.

      Raw JSON explanation object:

      {
      “code”: “ERESOLVE”,
      “current”: {
      “name”: “eslint”,
      “version”: “6.8.0”,
      “whileInstalling”: {
      “name”: “Hello-Lucy”,
      “version”: “1.0.1”,
      “path”: “/home/pi/MagicMirror/modules/Hello-Lucy”
      },
      “location”: “node_modules/eslint”,
      “dependents”: [
      {
      “type”: “dev”,
      “name”: “eslint”,
      “spec”: “^6.8.0”,
      “from”: {
      “location”: “/home/pi/MagicMirror/modules/Hello-Lucy”
      }
      }
      ]
      },
      “edge”: {
      “type”: “peer”,
      “name”: “eslint”,
      “spec”: “^3.19.0 || ^4.5.0”,
      “error”: “INVALID”,
      “from”: {
      “name”: “eslint-config-airbnb-base”,
      “version”: “11.3.2”,
      “whileInstalling”: {
      “name”: “Hello-Lucy”,
      “version”: “1.0.1”,
      “path”: “/home/pi/MagicMirror/modules/Hello-Lucy”
      },
      “location”: “node_modules/eslint-config-airbnb-base”,
      “dependents”: [
      {
      “type”: “dev”,
      “name”: “eslint-config-airbnb-base”,
      “spec”: “^11.0.1”,
      “from”: {
      “location”: “/home/pi/MagicMirror/modules/Hello-Lucy”
      }
      }
      ]
      }
      },
      “peerConflict”: null,
      “strictPeerDeps”: false,
      “force”: false
      }

      From /home/pi/.npm/_logs/2021-02-15T21_37_19_723Z-debug.log

      0 verbose cli [ ‘/usr/bin/node’,
      0 verbose cli ‘/usr/local/bin/npm’,
      0 verbose cli ‘install’,
      0 verbose cli ‘–productive’ ]
      1 info using npm@7.5.2
      2 info using node@v10.23.1
      3 timing config:load:defaults Completed in 6ms
      4 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 7ms
      5 timing config:load:builtin Completed in 7ms
      6 timing config:load:cli Completed in 11ms
      7 timing config:load:env Completed in 1ms
      8 timing config:load:file:/home/pi/MagicMirror/modules/Hello-Lucy/.npmrc Completed in 1ms
      9 timing config:load:project Completed in 3ms
      10 timing config:load:file:/home/pi/.npmrc Completed in 1ms
      11 timing config:load:user Completed in 1ms
      12 timing config:load:file:/etc/npmrc Completed in 0ms
      13 timing config:load:global Completed in 0ms
      14 timing config:load:cafile Completed in 1ms
      15 timing config:load:validate Completed in 0ms
      16 timing config:load:setUserAgent Completed in 1ms
      17 timing config:load:setEnvs Completed in 4ms
      18 timing config:load Completed in 40ms
      19 verbose npm-session 34512379a9096347
      20 timing npm:load Completed in 80ms
      21 timing arborist:ctor Completed in 6ms
      22 timing arborist:ctor Completed in 0ms
      23 timing idealTree:init Completed in 100ms
      24 timing idealTree:userRequests Completed in 0ms
      25 silly idealTree buildDeps
      26 silly fetch manifest lmtool@2.0.3
      27 http fetch GET 200 https://registry.npmjs.org/lmtool 586ms
      28 silly fetch manifest pocketsphinx-continuous@git://github.com/mykle1/pocketsphinx-continuous-node.git
      29 silly fetch manifest eslint@^6.8.0
      30 http fetch GET 200 https://registry.npmjs.org/eslint 345ms
      31 silly fetch manifest eslint-config-airbnb-base@^11.0.1
      32 http fetch GET 200 https://registry.npmjs.org/eslint-config-airbnb-base 90ms
      33 silly fetch manifest eslint@^3.19.0 || ^4.5.0
      34 timing idealTree Completed in 3229ms
      35 timing command:install Completed in 3281ms
      36 verbose stack Error: unable to resolve dependency tree
      36 verbose stack at Arborist.[failPeerConflict] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1115:25)
      36 verbose stack at Arborist.[loadPeerSet] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1095:34)
      37 verbose cwd /home/pi/MagicMirror/modules/Hello-Lucy
      38 verbose Linux 5.10.11-v7l+
      39 verbose argv “/usr/bin/node” “/usr/local/bin/npm” “install” “–productive”
      40 verbose node v10.23.1
      41 verbose npm v7.5.2
      42 error code ERESOLVE
      43 error ERESOLVE unable to resolve dependency tree
      44 error
      45 error While resolving: Hello-Lucy@1.0.1
      45 error Found: eslint@6.8.0
      45 error node_modules/eslint
      45 error dev eslint@“^6.8.0” from the root project
      45 error
      45 error Could not resolve dependency:
      45 error peer eslint@“^3.19.0 || ^4.5.0” from eslint-config-airbnb-base@11.3.2
      45 error node_modules/eslint-config-airbnb-base
      45 error dev eslint-config-airbnb-base@“^11.0.1” from the root project
      45 error
      45 error Fix the upstream dependency conflict, or retry
      45 error this command with --force, or --legacy-peer-deps
      45 error to accept an incorrect (and potentially broken) dependency resolution.
      45 error
      45 error See /home/pi/.npm/eresolve-report.txt for a full report.
      46 verbose exit 1

      posted in Troubleshooting
      D
      Desert Rat