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.
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(2nd)
Algorithm not found in zlibThe 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.