Skip to content

Issue with compression-webpack-plugin when starting webpack #8

@gglee89

Description

@gglee89

Two apparently version related issues with the compression-webpack-plugin:

When this error occurs:
Starting webpack to start the web server.

(1st) Error: node-zopfli not found

Existing Version
{
    "compression-webpack-plugin": "^0.4.0",
}

(2nd) Algorithm not found in zlib

Updated Version
{
    "compression-webpack-plugin": "^1.0.0",
}

The first error get fixed with the version update of the compression module, however a second error now occurs.
By googling a possible solution: webpack/compression-webpack-plugin#76

(Pending Solution)
As a temporary fix, just to get the project running, I've removed new CompressionPlugin entirely from Webpack's file shared.webpack.config.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions