-
Notifications
You must be signed in to change notification settings - Fork 771
Universal issue due to packaging format issue #354
Comments
@cyrilletuzi: We recently upgraded our build process for Angular (v4.x) and AOT. Please retry with the latest builds on HEAD: see Installing @angular/flex-layout@HEAD |
Imports are working now, but I get this error :
It's OK if I include the polyfill, but all other librairies stopped using it, and it will be removed soon from It may be because |
@cyrilletuzi - what do you mean "it may be because flex-layout is not requesting the good format of other Angular packages (like core)" ? |
I'm not an expert about how official Angular packages are distributed, but the error seems to show |
And I may have been optimist about saying it works with reflect, rendering is not working anymore, but I think it's related to #353 |
@cyrilletuzi - Oh wait... you said SSR above. Yes, you will need the code changes in PR #353. |
Yes, but I think the reflect issue is a different one. Will see. |
@ThomasBurleson do you use reflect metadata outside of angular decorators? |
This issue persists even with the merge of #353 |
@ThomasBurleson After talking to @chuckjaz, you can fix this by adding an I suggest talking to Jeremy about it. |
@ThomasBurleson actually after discussion with @chuckjaz and @tbosch it seems like using |
As a more general perspective, shouldn't be the recommended configuration for building librairies for Angular available for every one ? There will be similar problem with every third party librairies, and if even official librairies seems to don't know all what is necessary... It's causing some important issues like angular/angular-cli#7200 |
Depends on angular/components#6132 |
Fixed in nightly builds. |
Please check the latest build. Line 79 has an import statement stuck on the end of the line that causes it to error. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I run an app with Material and FlexLayout, server-side rendered with the new option of
@angular/cli
1.3.0-rc.No problem with Material, but FlexLayout generates this error :
I suspect it's because flex-layout is not distributed in the official way like other Angular modules. Some entry points (
main
,module
,es2015
,umd
...) are missing compared to other Angular packages.The text was updated successfully, but these errors were encountered: