angular2-cli ng2 serve problems with typescript exclude property

246 Views Asked by At

I try to serve a sample application with angular2-cli

https://www.npmjs.com/package/angular2-cli

But always encounter with the same error : Error in .src/main.ts Module build failed: TypeError: Cannot read property 'exclude' of undefined at applyDefaults ...

I found some discussions about the version selection of typescript. But i see always same error again even though i tried the different versions of typescript.(by package.json)

Is there anyone can accomplish to serve successfully that angular2-cli ?

My system is consisting of :

npm -v : 3.10.10

node -v: 6.9.4

tsc -v: 2.1.5 (But tried different versions from package.json dependency)

0

There are 0 best solutions below