question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: conflicting version requirements of zone.js

See original GitHub issue

Is this a bug, enhancement, or feature request?

This is a bug.

Briefly describe your proposal.

I tried to update my project to fundamental-ngx 0.23, it was already running on angular 10 (10.0.5 to be exact). So I updated my package json to 10.1.5 and ran into a conflicting specification of the required zone.js version.

Which versions of Angular and Fundamental Library for Angular are affected? (If this is a feature request, use current version.)

fundamental 0.23, angular 10.1.5

If this is a bug, please provide steps for reproducing it.

There are conflicting requirements for the zone.js library. If I configure package.json as "zone.js": "~0.11.2", I get the following error: @angular/core@10.1.5 requires a peer of zone.js@~0.10.3 but none is installed. You must install peer dependencies yourself.

If I configure "zone.js": "~0.10.3", then I get: @fundamental-ngx/core@0.23.0 requires a peer of zone.js@0.11.2 but none is installed. You must install peer dependencies yourself.

If I try to use a lower version of angular (e.g. 10.1.4), I get this error: @fundamental-ngx/core@0.23.0 requires a peer of @angular/core@~10.1.5 but none is installed. You must install peer dependencies yourself. Moving up to angular 10.1.6 doesn’t fix the problem and fundamental-ngx does not support any newer versions (angular 10.2.0) either.

In other words: fundamental-ngx/core makes conflicting demands: it specifies angular 10.1.5., which needs zone.js 0.10.3, but at the same time it specifies zone.js 0.11.2.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
JensSteckhancommented, Nov 18, 2020

The problem is still there with fundamental 0.24.1:

@fundamental-ngx/core@0.24.1 requires a peer of zone.js@0.11.2 but @angular/core@10.2.3 requires a peer of zone.js@~0.10.3

0reactions
droshevcommented, Jul 16, 2021

@jenshuesken Can you try with npm v6?

Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - Npm Install is Failing (Could not resolve dependency)
You have package-lock.json file try following command: npm ci, If it still fails delete package-lock.json and node_modules folder and then try ...
Read more >
zone.js - npm
Zones for JavaScript. Latest version: 0.12.0, last published: 2 months ago. Start using zone.js in your project by running `npm i zone.js`.
Read more >
Unable to resolve dependency tree error in Angular while ...
It's a dependency conflict (incorrect and potentially broken dependency) error, so run the command with --force or --legacy-peer-deps flag.
Read more >
"The License manager is not functioning or is improperly ...
The License manager is not functioning or is improperly installed. ... Note: If the error appears when using versions 2019 or earlier of...
Read more >
Dependency Resolution - pip documentation v22.3.1
Changed in version 20.3: pip's dependency resolver is now capable of backtracking. During dependency resolution, pip needs to make assumptions about the package ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found