Html Webpack Plugin:
Error: Child compilation failed: Module build failed (from ./node_modules/html-webpack-plugin/lib/loader.js): Error: ENOENT: no such file or directory, open '/var/www/webmagnat/public/inde x.html': Error: ENOENT: no such file or directory, open '/var/www/webmagnat/public/inde x.html' ModuleBuildError: Module build failed (from ./node_modules/html-webpack-plugin /lib/loader.js): Error: ENOENT: no such file or directory, open '/var/www/webmagnat/public/inde x.html' - NormalModule.js:316 runLoaders [webmagnat]/[webpack]/lib/NormalModule.js:316:20 - LoaderRunner.js:367 [webmagnat]/[loader-runner]/lib/LoaderRunner.js:367:11 - LoaderRunner.js:203 Array.[webmagnat]/[loader-runner]/lib/LoaderRunner.js:203:19 - CachedInputFileSystem.js:55 Storage.finished [webmagnat]/[enhanced-resolve]/lib/CachedInputFileSystem.js:55:16 - CachedInputFileSystem.js:91 ReadFileContext.provider [webmagnat]/[enhanced-resolve]/lib/CachedInputFileSystem.js:91:9 - graceful-fs.js:123 ReadFileContext.callback [webmagnat]/[graceful-fs]/graceful-fs.js:123:16 - child-compiler.js:131 childCompiler.runAsChild [webmagnat]/[html-webpack-plugin]/lib/child-compiler.js:131:18 - Compiler.js:343 compile [webmagnat]/[webpack]/lib/Compiler.js:343:11 - Compiler.js:681 hooks.afterCompile.callAsync.err [webmagnat]/[webpack]/lib/Compiler.js:681:15 - Hook.js:154 AsyncSeriesHook.lazyCompileHook [webmagnat]/[tapable]/lib/Hook.js:154:20 - Compiler.js:678 compilation.seal.err [webmagnat]/[webpack]/lib/Compiler.js:678:31 - Hook.js:154 AsyncSeriesHook.lazyCompileHook [webmagnat]/[tapable]/lib/Hook.js:154:20 - Compilation.js:1423 hooks.optimizeAssets.callAsync.err [webmagnat]/[webpack]/lib/Compilation.js:1423:35