Skip to content

Unmet peerDependencies in @ngtools/webpack with newer versions of webpack #4524

Closed
@cyrilletuzi

Description

@cyrilletuzi

Versions.

@ngtools/[email protected]

Repro steps.

Using @ngtools/webpack separetely, without Angular CLI.

npm install @ngtools/webpack webpack --save-dev

Results in a "Unmet peerDependencies" as @ngtools/webpack requires a specific version of webpack (2.2.0), and webpack is now on a newer version (2.2.1 when I write this issue).

I understand Angular CLI is using a specific version of webpack, as there is many complex things to manage. But as a separate tool, @ngtools/webpack should allow newer version of webpack, like any other dependencies.

@ngtools/webpack works fine with [email protected] in my app.

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