-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ng2-cli): add *.metadata.json #933
Comments
The code of the
|
Please try |
Unfortunately, the same behaviour. |
I get the same behavior with compiler-cli by importing CollapseModule this way: import { CollapseModule } from 'ng2-bootstrap/components/collapse'; and this way: import { CollapseModule } from 'ng2-bootstrap/ng2-bootstrap'; It happens, when CollapseModule is included in NgModule imports array. In urish/ngx-moment#68 and yabab-dev/ng2-ckeditor#36 it is assumed, that a *.metadata.json is expected by compiler-cli. The angular packages contain them, ng2-bootstrap package does not. |
Any update on this? I've tried generating the metadata files, but it fails with |
working on it. there are lot of es6 template literals I should change, no chance compile with it. |
Also, I noticed that some parts of the code just wont compile to js after building the transpiled typescript with ngc. Apparently this is because angular does not allow private or protected fields to be used in the template when compiling AoT. Are you guys aware of this issue? |
Update by valorkin:
When I'm try to launch
ng-xi18n
on rc6 via npm, I have this error:The text was updated successfully, but these errors were encountered: