Skip to content

Add "npm install --save-dev webpack" to WebPack installation explanation #2794

Closed
@SetTrend

Description

@SetTrend

The webpack documentation files /src/content/guides/installation.md and /src/content/guides/getting-started.md both claim that it's sufficient to install webpack-cli. But that isn't true.

When I install webpack-cli only, I get a warning that webpack is missing:

PS D:\Documents\Visual Studio-Projekte\Web Components> npm install --save-dev webpack-cli

> webpack-cli@3.2.1 postinstall D:\Documents\Visual Studio-Projekte\Web Components\node_modules\webpack-cli
npm WARN webpack-cli@3.2.1 requires a peer of webpack@4.x.x but none is installed. You must install peer dependencies yourself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions