• 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 Install Part 5 Unable to resolve dependency tree

Scheduled Pinned Locked Moved Troubleshooting
6 Posts 3 Posters 953 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.
  • D Offline
    Desert Rat
    last edited by Feb 16, 2021, 4:33 PM

    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

    S Mykle1M 2 Replies Last reply Feb 16, 2021, 4:39 PM Reply Quote 0
    • S Offline
      sdetweil @Desert Rat
      last edited by sdetweil Feb 17, 2021, 12:32 AM Feb 16, 2021, 4:39 PM

      @desert-rat what he said

                   |
                   v
      

      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 @Desert Rat
        last edited by Feb 16, 2021, 9:36 PM

        @desert-rat

        Just verifying:

        Did you run npm install in the Hello Lucy folder? Normally, this would be correct, but not in this case.

        The proper way of installing dependencies for Hello Lucy are as follows:

        • cd into the Hello-Lucy/installers folder

        • run bash dependencies.sh

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • D Offline
          Desert Rat
          last edited by Feb 17, 2021, 3:55 PM

          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

          1 Reply Last reply Reply Quote 0
          • D Offline
            Desert Rat
            last edited by Feb 24, 2021, 9:52 PM

            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!

            Mykle1M 1 Reply Last reply Apr 29, 2021, 12:20 AM Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @Desert Rat
              last edited by Apr 29, 2021, 12:20 AM

              @desert-rat

              Actually, there was a dependency issue. It took me some time to figure out how to correct the issue. I took the simplest route. The issue was with the dev dependencies which are not necessary for Lucy to run but caused the installation of necessary dependencies to fail.

              I’ve removed the installation of the dev dependencies from the dependency installer. I trashed my installation of Lucy (and her dependencies) and did a fresh installation. Everything seems to be working correctly here now.

              Sorry for the long delay in investigating the problem.

              Create a working config
              How to add modules

              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