Html Webpack Plugin:
Error: Child compilation failed:
Module not found: Error: Can't resolve '/root/task-tracker/node_modules/html-webpack-plugin/lib/loader.js' in '/root/task-tracker'
ModuleNotFoundError: Module not found: Error: Can't resolve '/root/task-tracker/node_modules/html-webpack-plugin/lib/loader.js' in '/root/task-tracker'
at /root/task-tracker/node_modules/webpack/lib/Compilation.js:2231:28
at /root/task-tracker/node_modules/webpack/lib/NormalModuleFactory.js:928:13
at eval (eval at create (/root/task-tracker/node_modules/tapable/lib/HookCodeFactory.js:33:10), :10:1)
at /root/task-tracker/node_modules/webpack/lib/NormalModuleFactory.js:338:22
at eval (eval at create (/root/task-tracker/node_modules/tapable/lib/HookCodeFactory.js:33:10), :9:1)
at /root/task-tracker/node_modules/webpack/lib/NormalModuleFactory.js:520:22
at /root/task-tracker/node_modules/webpack/lib/NormalModuleFactory.js:159:10
at /root/task-tracker/node_modules/webpack/lib/NormalModuleFactory.js:750:23
at /root/task-tracker/node_modules/neo-async/async.js:2830:7
at done (/root/task-tracker/node_modules/neo-async/async.js:2925:13)
at /root/task-tracker/node_modules/webpack/lib/NormalModuleFactory.js:1197:23
at finishWithoutResolve (/root/task-tracker/node_modules/enhanced-resolve/lib/Resolver.js:567:11)
at /root/task-tracker/node_modules/enhanced-resolve/lib/Resolver.js:656:15
at /root/task-tracker/node_modules/enhanced-resolve/lib/Resolver.js:718:5
at eval (eval at create (/root/task-tracker/node_modules/tapable/lib/HookCodeFactory.js:33:10), :16:1)
at /root/task-tracker/node_modules/enhanced-resolve/lib/Resolver.js:718:5
at eval (eval at create (/root/task-tracker/node_modules/tapable/lib/HookCodeFactory.js:33:10), :16:1)
at /root/task-tracker/node_modules/enhanced-resolve/lib/Resolver.js:718:5
at eval (eval at create (/root/task-tracker/node_modules/tapable/lib/HookCodeFactory.js:33:10), :15:1)
at /root/task-tracker/node_modules/enhanced-resolve/lib/Resolver.js:718:5
at eval (eval at create (/root/task-tracker/node_modules/tapable/lib/HookCodeFactory.js:33:10), :15:1)
at /root/task-tracker/node_modules/enhanced-resolve/lib/Resolver.js:718:5
at eval (eval at create (/root/task-tracker/node_modules/tapable/lib/HookCodeFactory.js:33:10), :16:1)
at /root/task-tracker/node_modules/enhanced-resolve/lib/Resolver.js:718:5
at eval (eval at create (/root/task-tracker/node_modules/tapable/lib/HookCodeFactory.js:33:10), :16:1)
at /root/task-tracker/node_modules/enhanced-resolve/lib/Resolver.js:718:5
at eval (eval at create (/root/task-tracker/node_modules/tapable/lib/HookCodeFactory.js:33:10), :16:1)
at /root/task-tracker/node_modules/enhanced-resolve/lib/Resolver.js:718:5
at eval (eval at create (/root/task-tracker/node_modules/tapable/lib/HookCodeFactory.js:33:10), :15:1)
at /root/task-tracker/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js:41:15
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)