ngx-modialog
ngx-modialog copied to clipboard
AOT compilation error with angular-cli 1.0.0
-
I'm submitting a ... [X] bug report [ ] feature request [ ] question about the decisions made in the repository
-
What is the current behavior? Building a project with angular-cli 1.0.0 gives an error:
ERROR in /node_modules/angular2-modal/esm/components/swap-component.directive.d.ts (1,1): Cannot find type definition file for 'chai'.
Recently a bug was fixed in angular-cli that would mask certain errors when compiling templates. Following this fix, the above mentioned error appears.
- Please tell us about your environment:
- Angular version: 2.4.10
- angular-cli 1.0.0
It should be fixed with this PR: https://github.com/shlomiassaf/angular2-modal/pull/325