How do I resolve version conflict from indirect dependency

71 views Asked by At

When I run sudo docker compose run web rake assets:precompile the compiler showed a warning

      | @parcel/resolver-default: Could not find module "punycode" satisfying ^1.4.1.
      | 
      | 
      |   /farmbot/package.json:65:5
      |     64 |     "url": "0.11.1",
      |   > 65 |     "punycode": "2.3.0",
      |   >    |     ^^^^^^^^^^ Found this conflicting local requirement.
      |     66 |     "querystring-es3": "0.2.1",
      |     67 |     "react": "16.13.1",

After checking all dependency, I found that npm url 0.11.1 was using punycode 1.4.1 while others

were using punycode 2.3.0. 
├─┬ [email protected]
│ └─┬ [email protected]
│   └─┬ [email protected]
│     └── [email protected] deduped
├─┬ [email protected]
│ └─┬ [email protected]
│   └─┬ [email protected]
│     └── [email protected] deduped
├─┬ [email protected]
│ └─┬ [email protected]
│   ├─┬ [email protected]
│   │ └── [email protected] deduped
│   └─┬ [email protected]
│     └─┬ [email protected]
│       └── [email protected] deduped
├── [email protected]
└─┬ [email protected]
  └── [email protected]

Though the website finished building, this made the parcel take a really long time to load.

How can I resolve this.

0

There are 0 answers