(Angular2/Typescript) TypeError: Cannot read property 'exclude' of undefined
ERROR in ./src/main.ts Module build failed: TypeError: Cannot read property 'exclude' of undefined at applyDefaults (/var/www/clients/client5/web7/home/kmeservejphustman/Desktop/testing/node_modules/awesome-typescript-loader/src/instance.ts:266:72) at Object.ensureInstance (/var/www/clients/client5/web7/home/kmeservejphustman/Desktop/testing/node_modules/awesome-typescript-loader/src/instance.ts:145:5) at compiler (/var/www/clients/client5/web7/home/kmeservejphustman/Desktop/testing/node_modules/awesome-typescript-loader/src/index.ts:37:20) at Object.loader (/var/www/clients/client5/web7/home/kmeservejphustman/Desktop/testing/node_modules/awesome-typescript-loader/src/index.ts:18:18) @ multi app
ERROR in ./src/vendor.ts Module build failed: TypeError: Cannot read property 'exclude' of undefined at applyDefaults (/var/www/clients/client5/web7/home/kmeservejphustman/Desktop/testing/node_modules/awesome-typescript-loader/src/instance.ts:266:72) at Object.ensureInstance (/var/www/clients/client5/web7/home/kmeservejphustman/Desktop/testing/node_modules/awesome-typescript-loader/src/instance.ts:145:5) at compiler (/var/www/clients/client5/web7/home/kmeservejphustman/Desktop/testing/node_modules/awesome-typescript-loader/src/index.ts:37:20) at Object.loader (/var/www/clients/client5/web7/home/kmeservejphustman/Desktop/testing/node_modules/awesome-typescript-loader/src/index.ts:18:18) @ multi vendor
I think it has something to do with the Typescript version?
i see the same problem
Yes, we need to update to the latest typescript; there are some breaking changes. In the mean time you can pin your ts version to 2.0
@winkervswbecks @bennett000: I can try to get on this on Friday unless sup sq has time before then?
Yup I simply removed the ^ in the typescript dependency in package.json.
Any issues with switching to the awesome-typescript-loader 3.0.0-beta version instead?
i see the same problem

Please help me to resolve this issue
@jamesbs go ahead if that fixes it.
@SethDavenport do u have any idea how to resolve this error?
Pinned typescript to 2.0.10. This should be fixed now.
how to pinned typescript to 2.0.10 ? @SethDavenport
@faradhussain2 go in your package.json and change the typescript version from ^2.0.3 to 2.0.10 (remember to remove the ^). Then do an npm install
removed the error .... thank you so much @SethDavenport for your help

i found this error in "ng serve" after installing ngmaterial 2 Please help me with this error
downgrading typescript from 2.1.1 to 2.0.0 remove the error thrown by awesome-typescript-loader. On the other hand, jasmine used on the system throws an error and prompt to upgrade the typescript version. Trapped in loop. Need an immediate solution for it.
still the same error :/
Does anyone know the problem with this error?
@AndresCL did you get the solution ?
I am also getting the same error. any idea on how to fix it.