Webpack 2.1.0-beta.26 doesn’t work at all – many ERROR in Entry module not found * errors

I’m submitting a bug report
Webpack version:
2.1.0-beta.26

Please tell us about your environment:
Linux

Current behavior:
After updating to beta.26 webpack failed with many errors. When I downgraded back to beta 25, everything worked fine.

ERROR in   Error: Child compilation failed:
  Entry module not found: Error: Can't resolve 'text' in '/home/dklingen/projects/kl  inki-windup-web/ui/src/main/webapp':
  Error: Can't resolve 'text' in '/home/dklingen/projects/klinki-windup-web/ui/src/m  ain/webapp'
  
  - compiler.js:76 
    [webapp]/[html-webpack-plugin]/lib/compiler.js:76:16
  
  - Compiler.js:282 Compiler.<anonymous>
    [webapp]/[webpack]/lib/Compiler.js:282:10
  
  - Compiler.js:479 
    [webapp]/[webpack]/lib/Compiler.js:479:13
  
  - Tapable.js:81 next
    [webapp]/[tapable]/lib/Tapable.js:81:11
  
  - CachePlugin.js:61 Compiler.<anonymous>
    [webapp]/[webpack]/lib/CachePlugin.js:61:4
  
  - Tapable.js:85 Compiler.applyPluginsAsync
    [webapp]/[tapable]/lib/Tapable.js:85:13
  
  - Compiler.js:476 
    [webapp]/[webpack]/lib/Compiler.js:476:10
  
  - Tapable.js:73 Compilation.applyPluginsAsync
    [webapp]/[tapable]/lib/Tapable.js:73:70
  
  - Compilation.js:627 
    [webapp]/[webpack]/lib/Compilation.js:627:18
  
  - Tapable.js:73 Compilation.applyPluginsAsync
    [webapp]/[tapable]/lib/Tapable.js:73:70
  
  - Compilation.js:618 
    [webapp]/[webpack]/lib/Compilation.js:618:10
  
  - Tapable.js:73 Compilation.applyPluginsAsync
    [webapp]/[tapable]/lib/Tapable.js:73:70
  
  - Compilation.js:613 
    [webapp]/[webpack]/lib/Compilation.js:613:9
  
  - Tapable.js:73 Compilation.applyPluginsAsync
    [webapp]/[tapable]/lib/Tapable.js:73:70
  
  - Compilation.js:609 
    [webapp]/[webpack]/lib/Compilation.js:609:8
  
  - Tapable.js:73 Compilation.applyPluginsAsync
    [webapp]/[tapable]/lib/Tapable.js:73:70
  
  - Compilation.js:555 Compilation.seal
    [webapp]/[webpack]/lib/Compilation.js:555:7
  
  - Compiler.js:473 
    [webapp]/[webpack]/lib/Compiler.js:473:16
  
  - Tapable.js:152 
    [webapp]/[tapable]/lib/Tapable.js:152:11
  
  - Compilation.js:452 Compilation.<anonymous>
    [webapp]/[webpack]/lib/Compilation.js:452:10
  
  - Compilation.js:347 Compilation.errorAndCallback
    [webapp]/[webpack]/lib/Compilation.js:347:3
  
  - Compilation.js:364 Compilation.<anonymous>
    [webapp]/[webpack]/lib/Compilation.js:364:11
  
  - NormalModuleFactory.js:40 onDoneResolving
    [webapp]/[webpack]/lib/NormalModuleFactory.js:40:20
  
  - NormalModuleFactory.js:117 
    [webapp]/[webpack]/lib/NormalModuleFactory.js:117:20
  
  - async.js:3853 
    [webapp]/[webpack]/[async]/dist/async.js:3853:9
  
  - async.js:484 
    [webapp]/[webpack]/[async]/dist/async.js:484:16
  
  - async.js:1082 iteratorCallback
    [webapp]/[webpack]/[async]/dist/async.js:1082:13
  
  - async.js:988 
    [webapp]/[webpack]/[async]/dist/async.js:988:16
  
  - async.js:3850 
    [webapp]/[webpack]/[async]/dist/async.js:3850:13
  
  - async.js:41 apply
    [webapp]/[webpack]/[async]/dist/async.js:41:25
  


ERROR in ./src/main.ts
Module not found: Error: Can't resolve 'file' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/main.ts 5:0-30

ERROR in ./src/main.ts
Module not found: Error: Can't resolve 'style' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/main.ts 6:0-32

ERROR in ./src/vendor.ts
Module not found: Error: Can't resolve 'style' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/vendor.ts 37:0-67

ERROR in ./src/vendor.ts
Module not found: Error: Can't resolve 'style' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/vendor.ts 24:0-73

ERROR in ./src/vendor.ts
Module not found: Error: Can't resolve 'style' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/vendor.ts 39:0-65

ERROR in ./src/vendor.ts
Module not found: Error: Can't resolve 'style' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/vendor.ts 40:0-75

ERROR in ./src/vendor.ts
Module not found: Error: Can't resolve 'imports' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/vendor.ts 26:0-76

ERROR in ./src/vendor.ts
Module not found: Error: Can't resolve 'imports' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/vendor.ts 36:0-45

ERROR in ./src/vendor.ts
Module not found: Error: Can't resolve 'imports' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/vendor.ts 25:0-73

ERROR in ./src/vendor.ts
Module not found: Error: Can't resolve 'imports' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/vendor.ts 2:8-25

ERROR in ./src/vendor.ts
Module not found: Error: Can't resolve 'imports' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/vendor.ts 23:0-64

ERROR in ./~/jquery-match-height/dist/jquery.matchHeight-min.js
Module not found: Error: Can't resolve 'imports' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./~/jquery-match-height/dist/jquery.matchHeight-min.js 6:64-84
 @ ./src/vendor.ts

ERROR in ./src/app/components/app.component.ts
Module not found: Error: Can't resolve 'html' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/components/app.component.ts 35:22-53
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/shared/popover.component.ts
Module not found: Error: Can't resolve 'imports' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/popover.component.ts 12:8-25
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/shared/navbar.component.ts
Module not found: Error: Can't resolve 'imports' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/navbar.component.ts 13:8-25
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/shared/modal-dialog.component.ts
Module not found: Error: Can't resolve 'imports' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/modal-dialog.component.ts 12:8-25
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/shared/js-tree-angular-wrapper.component.ts
Module not found: Error: Can't resolve 'imports' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/js-tree-angular-wrapper.component.ts 12:8-25
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/shared/confirmation-modal.component.ts
Module not found: Error: Can't resolve 'imports' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/confirmation-modal.component.ts 12:8-25
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/core/authentication/login.component.ts
Module not found: Error: Can't resolve 'html' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/core/authentication/login.component.ts 33:22-55
 @ ./src/app/core/core.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/shared/navbar.component.ts
Module not found: Error: Can't resolve 'html' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/navbar.component.ts 47:22-56
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/shared/js-tree-angular-wrapper.component.ts
Module not found: Error: Can't resolve 'imports' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/js-tree-angular-wrapper.component.ts 13:0-17
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/shared/js-tree-angular-wrapper.component.ts
Module not found: Error: Can't resolve 'html' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/js-tree-angular-wrapper.component.ts 110:22-73
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/shared/notification.component.ts
Module not found: Error: Can't resolve 'html' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/notification.component.ts 88:22-62
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./~/bootstrap-select/dist/js/bootstrap-select.min.js
Module not found: Error: Can't resolve 'imports' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./~/bootstrap-select/dist/js/bootstrap-select.min.js 7:53-96
 @ ./src/vendor.ts

ERROR in ./src/app/shared/upload/upload-progressbar.component.ts
Module not found: Error: Can't resolve 'html' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/upload/upload-progressbar.component.ts 23:22-68
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/shared/upload/upload-queue.component.ts
Module not found: Error: Can't resolve 'html' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/upload/upload-queue.component.ts 37:22-62
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/shared/navigation/breadcrumbs.component.ts
Module not found: Error: Can't resolve 'html' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/navigation/breadcrumbs.component.ts 42:22-61
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/shared/layout/default-layout.component.ts
Module not found: Error: Can't resolve 'html' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/layout/default-layout.component.ts 27:22-64
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/shared/navigation/context-menu.component.ts
Module not found: Error: Can't resolve 'html' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/navigation/context-menu.component.ts 51:22-62
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts

ERROR in ./src/app/shared/layout/group-layout.component.ts
Module not found: Error: Can't resolve 'html' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'
 @ ./src/app/shared/layout/group-layout.component.ts 74:22-62
 @ ./src/app/shared/shared.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts
Child html-webpack-plugin for "index.html.ftl":
    
    ERROR in Entry module not found: Error: Can't resolve 'text' in '/home/dklingen/projects/klinki-windup-web/ui/src/main/webapp'

Here is detailed log from webpack –display-error-details
http://pastebin.com/NEgr3aVh

Expected/desired behavior:
Webpack should work

  • Browser: [all]

  • Language: [TypeScript 2]

Author: Fantashit

2 thoughts on “Webpack 2.1.0-beta.26 doesn’t work at all – many ERROR in Entry module not found * errors

  1. Hey!
    Using -loader with moduleExtensions isn’t working with beta.26. Is the syntax right?

    resolve: {
        moduleExtensions: ['-loader'],
    }
    

Comments are closed.