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

LocalizeRouterModule + BrowserTransferStateModule + TransferHttpCacheModule = ERROR: Cannot instantiate cyclic dependency. Injection token HTTP_INTERCEPTORS. #74

Open
neverlose-lv opened this issue Jul 24, 2020 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@neverlose-lv
Copy link

Hi.
Here is one bug from the original repository, which I met in your fork.
Greentube/localize-router#99

Can you fix it?

Since I don't use any interceptors in my APP, so the problem comes from the mentioned modules:
LocalizeRouterModule
BrowserTransferStateModule
TransferHttpCacheModule

The app was working before I added these 2 modules:
BrowserTransferStateModule
TransferHttpCacheModule

After these modules were added - I've started to receive the mentioned error:
Cannot instantiate cyclic dependency. Injection token HTTP_INTERCEPTORS.

@gilsdav gilsdav added the help wanted Extra attention is needed label Jul 24, 2020
@gilsdav
Copy link
Owner

gilsdav commented Jul 24, 2020

Thanks @neverlose-lv, I will try to reproduce this ASAP.

@gilsdav
Copy link
Owner

gilsdav commented Jul 25, 2020

Hello @neverlose-lv,
I can't reproduce your issue.
Can you check the differences between your project and this sample repository ?
Check the angular import order too like written here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants