-
Notifications
You must be signed in to change notification settings - Fork 93
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
Cyclic dependency error by using three modules: LocalizeRouterModule, TranslateModule, TransferHttpCacheModule #99
Comments
It's interesting problem. I'll try to assist you as soon as possible. |
@bobsingor @meeroslav this seems to be a conflict between HttpClientModule and TransferHttpCacheModule. Take a look at this plunker https://plnkr.co/edit/7Plnvz?p=preview |
I guess no. It working only if TranslateModule.forRoot() stay empty. |
I think this issue is related to AOT compiler. I can avoid Cyclic dependency error using the following ParserLoader and setting the translate property before init method through Injector.
I'm sure there is a better solution, any suggestion? |
any solution for solve this ? |
Same issue over here :( |
Need help for this one too |
I have the exact same problem, is there any solution to fix it ? |
Same issue, any solution ? :) |
up |
I need to use these three modules in my project:
TranslateModule LocalizeRouterModule TransferHttpCacheModule
Somehow these are causing a cyclic dependency error. Also did a post on StackOverflow
https://stackoverflow.com/questions/47510536/cyclic-dependency-error-transferhttpcachemodule-localizeroutermodule-translate
And created a plnkr to reproduce this issue: https://plnkr.co/edit/qlUQ866JzTa3JtFgSAIO?p=preview
Hope someone can help me solve this issue.
The text was updated successfully, but these errors were encountered: