First consider that the reason is caused by a packaged plug-in version problem. The latest version is downloaded directly from npm install, and the webpack version is lower, which will cause a mismatch between the plug-in version and the webpack version.
Solution: try to reduce the version of the plug-in, and specify the version number when installing