daviddt / angular2-lazy-load-example

Angular 2 lazy load example
59 stars 28 forks source link

Error in pollyfills.ts #1

Open enterpriseSoftware opened 7 years ago

enterpriseSoftware commented 7 years ago

^[[1m^[[31mERROR in ./src/polyfills.ts Module build failed: TypeError: Cannot read property 'exclude' of undefined at applyDefaults (/Users/xxxx/OVSLazyLoad/node_modules/awesome-typescript-loader/src/instance.ts:266:72) at Object.ensureInstance (/Users/xxxx/OVSLazyLoad/node_modules/awesome-typescript-loader/src/instance.ts:145:5) at compiler (/Users/xxxx/OVSLazyLoad/node_modules/awesome-typescript-loader/src/index.ts:37:20) at Object.loader (/Users/xxxx/OVSLazyLoad/node_modules/awesome-typescript-loader/src/index.ts:18:18) @ multi polyfills^[[39m^[[22m

^[[1m^[[31mERROR in ./src/vendor.ts Module build failed: TypeError: Cannot read property 'exclude' of undefined at applyDefaults (/Users/xxxx/OVSLazyLoad/node_modules/awesome-typescript-loader/src/instance.ts:266:72) at Object.ensureInstance (/Users/xxxx/OVSLazyLoad/node_modules/awesome-typescript-loader/src/instance.ts:145:5) at compiler (/Users/xxxx/OVSLazyLoad/node_modules/awesome-typescript-loader/src/index.ts:37:20) at Object.loader (/Users/xxxx/OVSLazyLoad/node_modules/awesome-typescript-loader/src/index.ts:18:18) @ multi vendor^[[39m^[[22m

"startuplog.txt" 38L, 2535C

cecilphillip commented 7 years ago

I'm getting the same error... not quite sure what the root cause is yet

cecilphillip commented 7 years ago

@enterpriseSoftware there's a bug filed on the repo https://github.com/s-panferov/awesome-typescript-loader/issues/190

fazalWahid56 commented 7 years ago

same error here.

mii9000 commented 7 years ago

I get the same error. Any solution found?