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

Broken with Ivy #124

Open
hliu-pharmhos opened this issue Jan 9, 2020 · 2 comments
Open

Broken with Ivy #124

hliu-pharmhos opened this issue Jan 9, 2020 · 2 comments

Comments

@hliu-pharmhos
Copy link

Versions (please complete the following information):

  • NgxWebstorage: [e.g. 3.0.x]
  • Angular: [e.g. 8.3.22]

Describe the bug
When enable Ivy render engine, angular app won't run. the exception stack is as following:
Error: Can't resolve all parameters for InMemoryStorageStrategy: (?).
at getUndecoratedInjectableFactory (:4200/vendor.js:36222)
at injectableDefOrInjectorDefFactory (:4200/vendor.js:36206)
at providerToFactory (:4200/vendor.js:36307)
at providerToRecord (:4200/vendor.js:36252)
at R3Injector.processProvider (:4200/vendor.js:36112)
at :4200/vendor.js:36077
at :4200/vendor.js:21994
at Array.forEach ()
at deepForEach (:4200/vendor.js:21994)
at R3Injector.processInjectorType (:4200/vendor.js:36073)

It seems angular runtime cann't workout the Injectable parameter for the constructor of the InMemoryStorageStategy class.

@cedotoljic
Copy link

Same error with
"ngx-webstorage": "4.0.1",
"@angular/core": "9.0.0-rc.8",

@johnchurchill
Copy link

This does not appear to be a problem anymore, at least since ngx-webstorage 6.x and angular 10.

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

3 participants