We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting this on a new generated project
ERROR in Error: Child compilation failed: Entry module not found: Error: Cannot resolve 'file' or 'directory' /Users/dan/Documents/projects/angularFullstack/client/_index.html in /Users/dan/Documents/projects/angularFullstack: Error: Cannot resolve 'file' or 'directory' /Users/dan/Documents/projects/angularFullstack/client/_index.html in /Users/dan/Documents/projects/angularFullstack - compiler.js:76 [angularFullstack]/[html-webpack-plugin]/lib/compiler.js:76:16 - Compiler.js:214 Compiler.<anonymous> [angularFullstack]/[webpack]/lib/Compiler.js:214:10 - Compiler.js:403 [angularFullstack]/[webpack]/lib/Compiler.js:403:12 - Tapable.js:67 Compiler.next [angularFullstack]/[tapable]/lib/Tapable.js:67:11 - CachePlugin.js:40 Compiler.<anonymous> [angularFullstack]/[webpack]/lib/CachePlugin.js:40:4 - Tapable.js:71 Compiler.applyPluginsAsync [angularFullstack]/[tapable]/lib/Tapable.js:71:13 - Compiler.js:400 Compiler.<anonymous> [angularFullstack]/[webpack]/lib/Compiler.js:400:9 - Compilation.js:577 Compilation.<anonymous> [angularFullstack]/[webpack]/lib/Compilation.js:577:13 - Tapable.js:60 Compilation.applyPluginsAsync [angularFullstack]/[tapable]/lib/Tapable.js:60:69 - Compilation.js:572 Compilation.<anonymous> [angularFullstack]/[webpack]/lib/Compilation.js:572:10 - Tapable.js:60 Compilation.applyPluginsAsync [angularFullstack]/[tapable]/lib/Tapable.js:60:69 - Compilation.js:567 Compilation.<anonymous> [angularFullstack]/[webpack]/lib/Compilation.js:567:9 - Tapable.js:60 Compilation.applyPluginsAsync [angularFullstack]/[tapable]/lib/Tapable.js:60:69 - Compilation.js:563 Compilation.<anonymous> [angularFullstack]/[webpack]/lib/Compilation.js:563:8 - Tapable.js:60 Compilation.applyPluginsAsync [angularFullstack]/[tapable]/lib/Tapable.js:60:69 - Compilation.js:525 Compilation.seal [angularFullstack]/[webpack]/lib/Compilation.js:525:7 - From previous event: - compiler.js:69 Object.compileTemplate [angularFullstack]/[html-webpack-plugin]/lib/compiler.js:69:10 - index.js:47 Compiler.<anonymous> [angularFullstack]/[html-webpack-plugin]/index.js:47:40 - Tapable.js:107 Compiler.applyPluginsParallel [angularFullstack]/[tapable]/lib/Tapable.js:107:14 - Compiler.js:394 Compiler.compile [angularFullstack]/[webpack]/lib/Compiler.js:394:7 - Compiler.js:46 Watching.<anonymous> [angularFullstack]/[webpack]/lib/Compiler.js:46:17 - Tapable.js:67 Compiler.next [angularFullstack]/[tapable]/lib/Tapable.js:67:11 - Shared.js:138 Compiler.compilerInvalid [angularFullstack]/[webpack-dev-middleware]/lib/Shared.js:138:5 - Tapable.js:69 Compiler.next [angularFullstack]/[tapable]/lib/Tapable.js:69:14 - index.js:312 Compiler.<anonymous> [angularFullstack]/[awesome-typescript-loader]/dist.babel/index.js:312:17 - Tapable.js:71 Compiler.applyPluginsAsync [angularFullstack]/[tapable]/lib/Tapable.js:71:13 - Compiler.js:44 Watching._go [angularFullstack]/[webpack]/lib/Compiler.js:44:16 - Compiler.js:36 Watching.<anonymous> [angularFullstack]/[webpack]/lib/Compiler.js:36:8 - Compiler.js:302 Compiler.readRecords [angularFullstack]/[webpack]/lib/Compiler.js:302:10 - Compiler.js:33 new Watching [angularFullstack]/[webpack]/lib/Compiler.js:33:16 - Compiler.js:161 Compiler.watch [angularFullstack]/[webpack]/lib/Compiler.js:161:17 - Shared.js:153 Object.startWatch [angularFullstack]/[webpack-dev-middleware]/lib/Shared.js:153:29 - Shared.js:215 Shared [angularFullstack]/[webpack-dev-middleware]/lib/Shared.js:215:8 - middleware.js:22 module.exports [angularFullstack]/[webpack-dev-middleware]/middleware.js:22:15 - express.js:105 /Users/dan/Documents/projects/angularFullstack/server/config/express.js:105:9 ERROR in ./client/components/navbar/navbar.component.js Module not found: Error: Cannot resolve 'file' or 'directory' ./navbar.html in /Users/dan/Documents/projects/angularFullstack/client/components/navbar @ ./client/components/navbar/navbar.component.js 28:12-36 Child html-webpack-plugin for "../client/index.html": ERROR in Entry module not found: Error: Cannot resolve 'file' or 'directory' /Users/dan/Documents/projects/angularFullstack/client/_index.html in /Users/dan/Documents/projects/angularFullstack webpack: bundle is now VALID.
The text was updated successfully, but these errors were encountered:
@danmmx Bro! did you solved this issues ?? I am facing the same problem . if you solve this issue please help me?
Sorry, something went wrong.
@danmmx @imtiazahmedd am facing the same. have you solved. i tried many ways but no luck :(
Haven't had a time to investigate it, will be doing so maybe this weekend.
The issue is that navbar.html is hardcoded in navbar.component.js here. Just change it to be .pug
navbar.html
navbar.component.js
.pug
fix(client:navbar): fix hardcoded template ext
5e999b2
fixes #2469
Awk34
No branches or pull requests
Getting this on a new generated project
The text was updated successfully, but these errors were encountered: