Skip to content

Fails when user's webpack config has html-webpack-plugin-before-html-processing #1217

@MeghaMaheshwari

Description

@MeghaMaheshwari

On trying to run this command, I get the following error and not sure how to resolve it

Loading webpack config from:
node_modules/react-scripts/config/webpack.config.dev.js

Plugin could not be registered at 'html-webpack-plugin-before-html-processing'. Hook was not found.
BREAKING CHANGE: There need to exist a hook at 'this.hooks'. To create a compatibility layer for this hook, hook into 'this._pluginCompat'.
(node:32249) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead

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