Html Webpack Plugin:
Error: Child compilation failed: Entry module not found: Error: Can't resolve 'D:\phpStudy\WWW\webpackdemo\workbench\templates\how-to-works.html' in 'D:\phpStudy\WWW\webpa ckdemo': Error: Can't resolve 'D:\phpStudy\WWW\webpackdemo\workbench\templates\how-to-works.html' in 'D:\phpStudy\WWW\webpackdemo' - compiler.js:79 childCompiler.runAsChild [webpackdemo]/[html-webpack-plugin]/lib/compiler.js:79:16 - Compiler.js:240 compile [webpackdemo]/[webpack]/lib/Compiler.js:240:11 - Compiler.js:485 hooks.afterCompile.callAsync.err [webpackdemo]/[webpack]/lib/Compiler.js:485:14 - Hook.js:35 AsyncSeriesHook.lazyCompileHook [as _callAsync] [webpackdemo]/[tapable]/lib/Hook.js:35:21 - Compiler.js:482 compilation.seal.err [webpackdemo]/[webpack]/lib/Compiler.js:482:30 - Hook.js:35 AsyncSeriesHook.lazyCompileHook [as _callAsync] [webpackdemo]/[tapable]/lib/Hook.js:35:21 - Compilation.js:964 hooks.optimizeAssets.callAsync.err [webpackdemo]/[webpack]/lib/Compilation.js:964:35 - Hook.js:35 AsyncSeriesHook.lazyCompileHook [as _callAsync] [webpackdemo]/[tapable]/lib/Hook.js:35:21 - Compilation.js:955 hooks.optimizeChunkAssets.callAsync.err [webpackdemo]/[webpack]/lib/Compilation.js:955:32 - Hook.js:35 AsyncSeriesHook.lazyCompileHook [as _callAsync] [webpackdemo]/[tapable]/lib/Hook.js:35:21 - Compilation.js:950 hooks.additionalAssets.callAsync.err [webpackdemo]/[webpack]/lib/Compilation.js:950:36 - Hook.js:35 AsyncSeriesHook.lazyCompileHook [as _callAsync] [webpackdemo]/[tapable]/lib/Hook.js:35:21 - Compilation.js:946 hooks.optimizeTree.callAsync.err [webpackdemo]/[webpack]/lib/Compilation.js:946:32 - Hook.js:35 AsyncSeriesHook.lazyCompileHook [as _callAsync] [webpackdemo]/[tapable]/lib/Hook.js:35:21 - Compilation.js:888 Compilation.seal [webpackdemo]/[webpack]/lib/Compilation.js:888:27 - Compiler.js:479 hooks.make.callAsync.err [webpackdemo]/[webpack]/lib/Compiler.js:479:17 - Compilation.js:756 _addModuleChain [webpackdemo]/[webpack]/lib/Compilation.js:756:12 - Compilation.js:635 errorAndCallback.bail.err [webpackdemo]/[webpack]/lib/Compilation.js:635:6 - Compilation.js:668 moduleFactory.create [webpackdemo]/[webpack]/lib/Compilation.js:668:14 - NormalModuleFactory.js:360 factory [webpackdemo]/[webpack]/lib/NormalModuleFactory.js:360:22 - NormalModuleFactory.js:120 resolver [webpackdemo]/[webpack]/lib/NormalModuleFactory.js:120:21 - NormalModuleFactory.js:200 asyncLib.parallel [webpackdemo]/[webpack]/lib/NormalModuleFactory.js:200:22 - async.js:2772 [webpackdemo]/[neo-async]/async.js:2772:7