Angular Application depends on webpack.
There may be many reasons for this issues. Either webpack versions are not proper.
Or Multiple webpack versions are installed. For checking webpack in node check with the below command.
npm ls webpack If more than one versions are installed remove and make it one. Or try to uninstall the web pack install again