Skip to content
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

Error when trying to use AOT with ngc #956

Closed
mstawick opened this issue Sep 12, 2016 · 1 comment
Closed

Error when trying to use AOT with ngc #956

mstawick opened this issue Sep 12, 2016 · 1 comment

Comments

@mstawick
Copy link

When trying to compile with ngc, I'm getting:

Error: Unexpected value 'DatepickerModule' imported by the module 'SharedModule'

same for TooltipModule and probably every other one.

DatepickerModule is imported (also tried importing from ng2-bootstrap/components/datepicker/datepicker.module):

import { DatepickerModule } from "ng2-bootstrap";

and when building with webpack it works fine.

According to discussion here:
angular/angular#11262

it's due to missing *.metadata.json files.

@valorkin
Copy link
Member

yeah, you are right, this is about metadata.json need to generate them additionality
same as #933

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants