Html Webpack Plugin:
Error: Child compilation failed:
Module not found: Error: Can't resolve 'C:\muhan\muhan-project\muhan-web\node_modules\html-webpack-plugin\lib\loader.js' in 'C:\muhan\muhan-project\muhan-web'
ModuleNotFoundError: Module not found: Error: Can't resolve 'C:\muhan\muhan-project\muhan-web\node_modules\html-webpack-plugin\lib\loader.js' in 'C:\muhan\muhan-project\muhan-web'
at C:\muhan\muhan-project\muhan-web\node_modules\webpack\lib\Compilation.js:2065:28
at C:\muhan\muhan-project\muhan-web\node_modules\webpack\lib\NormalModuleFactory.js:1028:13
at eval (eval at create (C:\muhan\muhan-project\muhan-web\node_modules\tapable\lib\HookCodeFactory.js:31:10), :10:1)
at C:\muhan\muhan-project\muhan-web\node_modules\webpack\lib\NormalModuleFactory.js:429:22
at eval (eval at create (C:\muhan\muhan-project\muhan-web\node_modules\tapable\lib\HookCodeFactory.js:31:10), :9:1)
at C:\muhan\muhan-project\muhan-web\node_modules\webpack\lib\NormalModuleFactory.js:614:22
at C:\muhan\muhan-project\muhan-web\node_modules\webpack\lib\NormalModuleFactory.js:180:10
at C:\muhan\muhan-project\muhan-web\node_modules\webpack\lib\NormalModuleFactory.js:846:23
at C:\muhan\muhan-project\muhan-web\node_modules\webpack\lib\NormalModuleFactory.js:1338:5
at C:\muhan\muhan-project\muhan-web\node_modules\neo-async\async.js:2830:7
at done (C:\muhan\muhan-project\muhan-web\node_modules\neo-async\async.js:2925:13)
at C:\muhan\muhan-project\muhan-web\node_modules\webpack\lib\NormalModuleFactory.js:1297:10
at finishWithoutResolve (C:\muhan\muhan-project\muhan-web\node_modules\enhanced-resolve\lib\Resolver.js:568:11)
at C:\muhan\muhan-project\muhan-web\node_modules\enhanced-resolve\lib\Resolver.js:657:14
at C:\muhan\muhan-project\muhan-web\node_modules\enhanced-resolve\lib\Resolver.js:718:5
at eval (eval at create (C:\muhan\muhan-project\muhan-web\node_modules\tapable\lib\HookCodeFactory.js:31:10), :16:1)
at C:\muhan\muhan-project\muhan-web\node_modules\enhanced-resolve\lib\Resolver.js:718:5
at eval (eval at create (C:\muhan\muhan-project\muhan-web\node_modules\tapable\lib\HookCodeFactory.js:31:10), :27:1)
at C:\muhan\muhan-project\muhan-web\node_modules\enhanced-resolve\lib\DescriptionFilePlugin.js:89:43
at C:\muhan\muhan-project\muhan-web\node_modules\enhanced-resolve\lib\Resolver.js:718:5
at eval (eval at create (C:\muhan\muhan-project\muhan-web\node_modules\tapable\lib\HookCodeFactory.js:31:10), :15:1)
at C:\muhan\muhan-project\muhan-web\node_modules\enhanced-resolve\lib\Resolver.js:718:5
at eval (eval at create (C:\muhan\muhan-project\muhan-web\node_modules\tapable\lib\HookCodeFactory.js:31:10), :15:1)
at C:\muhan\muhan-project\muhan-web\node_modules\enhanced-resolve\lib\Resolver.js:718:5
at eval (eval at create (C:\muhan\muhan-project\muhan-web\node_modules\tapable\lib\HookCodeFactory.js:31:10), :16:1)
at C:\muhan\muhan-project\muhan-web\node_modules\enhanced-resolve\lib\Resolver.js:718:5
at eval (eval at create (C:\muhan\muhan-project\muhan-web\node_modules\tapable\lib\HookCodeFactory.js:31:10), :27:1)
at C:\muhan\muhan-project\muhan-web\node_modules\enhanced-resolve\lib\DescriptionFilePlugin.js:89:43
at C:\muhan\muhan-project\muhan-web\node_modules\enhanced-resolve\lib\Resolver.js:718:5
at eval (eval at create (C:\muhan\muhan-project\muhan-web\node_modules\tapable\lib\HookCodeFactory.js:31:10), :16:1)
at C:\muhan\muhan-project\muhan-web\node_modules\enhanced-resolve\lib\Resolver.js:718:5
at eval (eval at create (C:\muhan\muhan-project\muhan-web\node_modules\tapable\lib\HookCodeFactory.js:31:10), :15:1)
at C:\muhan\muhan-project\muhan-web\node_modules\enhanced-resolve\lib\DirectoryExistsPlugin.js:43:15
at process.processTicksAndRejections (node:internal/process/task_queues:88:21)