Closed slavafomin closed 3 years ago
If you are using pnpm, you can temporarily fix this problem using the following pnpmfile.js
:
module.exports = {
hooks: { readPackage },
};
function readPackage($package, context) {
if ($package.name === 'html-webpack-tags-plugin') {
$package.peerDependencies.webpack = '^5.0.0';
}
return $package;
}
The
html-webpack-tags-plugin
hasn't specifiedwebpack
as a peer dependency. This lead to problems, because strict package managers can't resolve and install the correct dependency. This PR adds this missing dependency and fixes this problem.