Skip to content

Incompatible with npm 7 #28

@peterpeterparker

Description

@peterpeterparker

Actual Behavior

This package fails when installed with npm@7

npm -v
7.6.3
ng new my-app
...
cd my-app
npm i @angular-extensions/pretty-html-log
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-app@0.0.0
npm ERR! Found: @angular/common@11.0.9
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"~11.0.6" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"9 - 10" from @angular-extensions/pretty-html-log@3.1.3
npm ERR! node_modules/@angular-extensions/pretty-html-log
npm ERR! @angular-extensions/pretty-html-log@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Expected Behavior

Being compatible with npm@7

Workaround

Downgrade to npm@6.14.11

Side Note

Angular has been upgraded to support npm@7 (see #19957)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions