wannabegeek / ng2-split-pane

Split View module for Angular 2
MIT License
43 stars 25 forks source link

Plugin needs to publish metadata to support Angular CLI latest versions #13

Open ydagana opened 7 years ago

ydagana commented 7 years ago

If you refer to: https://github.com/angular/angular-cli/issues/3707#issuecomment-268861871 A lot of people are complaining about some third party modules throwing this error: "ERROR in Error encountered resolving symbol values statically. Calling function..."

This also happens when you try to use ng2-split-pane with angular-cli, and apparently you need to compile the module and publish metadata files.

A good description on what to do can be found here: https://medium.com/@isaacplmann/getting-your-angular-2-library-ready-for-aot-90d1347bcad#.lhmv1xmm2

Hope this gets fixed soon.

Thanks

wannabegeek commented 7 years ago

From my understanding here we need to compile the Typescript files with ncg for AOT compilation. However, this causes a problem at the moment, as far as I can work out AOT compilation doesn;t work for abstract classes see: https://github.com/wannabegeek/ng2-split-pane/issues/4 Once this is resolved, I think this should be a simple fix.

Let me know if I have misunderstood the issue.