Doesn't work with AoT compiler - please add .metadata.json file #458

Open
opened 2016-10-19 15:08:25 +00:00 by xaralis · 2 comments
xaralis commented 2016-10-19 15:08:25 +00:00 (Migrated from github.com)

When I try to compile my project using ngc for Ahead of Time Compilation. The compiler throws the error below:

Error: Unexpected value 'FileUploadModule' imported by the module 'AppModule'

It probably relates to missing .metadata.json as mentioned in https://github.com/angular/angular/issues/11262

When I try to compile my project using ngc for Ahead of Time Compilation. The compiler throws the error below: ``` Error: Unexpected value 'FileUploadModule' imported by the module 'AppModule' ``` It probably relates to missing `.metadata.json` as mentioned in https://github.com/angular/angular/issues/11262
nastakhov commented 2016-11-25 12:02:29 +00:00 (Migrated from github.com)

Seems like closed in #436

Seems like closed in #436
urbanhusky commented 2017-05-19 13:34:40 +00:00 (Migrated from github.com)

I'm having the same issue. Maybe it's because of how the export is defined?

export * from './index';

See:
https://medium.com/@isaacplmann/making-your-angular-2-library-statically-analyzable-for-aot-e1c6f3ebedd5

I'm having the same issue. Maybe it's because of how the export is defined? `export * from './index';` See: https://medium.com/@isaacplmann/making-your-angular-2-library-statically-analyzable-for-aot-e1c6f3ebedd5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dc/ng2-file-upload#458