Open corfor opened 7 years ago
I've faced a similar issue when using my package 'https://www.npmjs.com/package/ng2-appinsights'. This issue occurs in angular version 2.4.0.
The latest version of angular expects the the modules to be compiled using 'ngc' instead of 'tsc'
Setting it up as provider works around the issue for now.
Using latest version of @angular/cli and typescript, unable to build my project because
It seems this module needs to be compiled differently, but I'm not clear on the specifics. One thing I've read is that
tsconfig.json
should target modulees2015
instead ofsystemjs
See angular-cli#4447