brakmic / Angular-Articles

:floppy_disk: Projects from my Angular article series
http://blog.brakmic.com/category/coding/javascript/angular/
MIT License
20 stars 26 forks source link

webpack error on trying the article 6 demo #2

Closed born2net closed 7 years ago

born2net commented 7 years ago

dump:

./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 856 bytes {2} [built]
        [] -> factory:12ms building:259ms = 271ms
 [./node_modules/webpack/buildin/amd-options.js] (webpack)/buildin/amd-options.js 43 bytes {2} [built]
        [] -> factory:265ms building:21ms = 286ms
 [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 506 bytes {2} [built]
        [] -> factory:2ms building:2ms = 4ms
 [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 548 bytes {2} [built]
        [] -> factory:3ms building:1ms = 4ms
 [./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 77 bytes {2} [built]
        [] -> factory:276ms building:20ms = 296ms
 [./src/init/polyfills.ts] ./src/init/polyfills.ts 565 bytes {2} [built] [failed] [1 error]
        [] -> factory:84ms building:278ms = 362ms

ERROR in ./src/init/polyfills.ts
Module build failed: TypeError: Cannot read property 'exclude' of undefined
    at applyDefaults (C:\msweb\ng-service-worker\node_modules\awesome-typescript-loader\src\instance.ts:266:72)
    at Object.ensureInstance (C:\msweb\ng-service-worker\node_modules\awesome-typescript-loader\src\instance.ts:145:5)
    at compiler (C:\msweb\ng-service-worker\node_modules\awesome-typescript-loader\src\index.ts:37:20)
    at Object.loader (C:\msweb\ng-service-worker\node_modules\awesome-typescript-loader\src\index.ts:18:18)
 @ multi polyfills

ERROR in ./src/init/vendor.ts
Module build failed: TypeError: Cannot read property 'exclude' of undefined
    at applyDefaults (C:\msweb\ng-service-worker\node_modules\awesome-typescript-loader\src\instance.ts:266:72)
    at Object.ensureInstance (C:\msweb\ng-service-worker\node_modules\awesome-typescript-loader\src\instance.ts:145:5)
    at compiler (C:\msweb\ng-service-worker\node_modules\awesome-typescript-loader\src\index.ts:37:20)
    at Object.loader (C:\msweb\ng-service-worker\node_modules\awesome-typescript-loader\src\index.ts:18:18)
 @ multi vendor

ERROR in ./src/init/main.ts
Module build failed: TypeError: Cannot read property 'exclude' of undefined
    at applyDefaults (C:\msweb\ng-service-worker\node_modules\awesome-typescript-loader\src\instance.ts:266:72)
    at Object.ensureInstance (C:\msweb\ng-service-worker\node_modules\awesome-typescript-loader\src\instance.ts:145:5)
    at compiler (C:\msweb\ng-service-worker\node_modules\awesome-typescript-loader\src\index.ts:37:20)
    at Object.loader (C:\msweb\ng-service-worker\node_modules\awesome-typescript-loader\src\index.ts:18:18)
 @ multi main
Child html-webpack-plugin for "index.html":
    chunk    {0} index.html 541 kB [entry] [rendered]
     [./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html] ./~/html-webpack-plugin/lib/loader.js!./src/index.html 1.61 kB {0} [built]
             factory:48ms building:33ms = 81ms
     [./node_modules/lodash/lodash.js] ./~/lodash/lodash.js 539 kB {0} [built]
            [] -> factory:58ms building:575ms = 633ms
     [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 506 bytes {0} [built]
            [] -> factory:14ms building:20ms = 34ms
     [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 548 bytes {0} [built]
            [] -> factory:15ms building:22ms = 37ms
webpack: bundle is now VALID.

regards

Sean