This error may cause the webpack plugins. Webpack plugins that are not configured properly will cause the issue and removing the plugin will resolve the error.
Check for your webpack configuration file
It may contain a webpack plugin that is not configured
Check for the highlighted section on the above image and you can see that the error is causing by the webpack Live Reload Plugin because this plugin is not configured in the webpack configuration file.
Removing this plugin will resolve the error and the same is applied for other webpack plugins too.