Skip to content

"Build failed with errors" message instead of webpack cause #1155

Closed
@Toilal

Description

@Toilal

When webpack build fails (npm build), it displays "Build failed with errors" without any other explanation.

Problem is that this piece of code hide actual errors.

process.stdout.write(stats.toString({
colors: true,
modules: false,
children: false,
chunks: false,
chunkModules: false
}) + '\n\n')

If is set this to toString({color: true}), errors are displayed with other informations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions