PillowPillow/ng2-webstorage

TypeError: can't access property "get", this.strategy is undefined. Still no fix this??

logicappsource opened this issue · 3 comments

Versions (please complete the following information):
"ngx-webstorage": "11.1.1",

  • Angular: 15.1

Describe the bug
When retreiving any object using get or set, the following error occur:
TypeError: can't access property "get", this.strategy is undefined.

To Reproduce
Steps to reproduce the behavior:

  1. Inject the storage dependcy
  2. call any method on the service

Expected behavior
Receive an item for localStorage without throwing an error

Hello, I m using this library for my company projects and don't encounter this issue.

I m working on this on my free time, if you wan't that i look on your problem, at least give me a repo reproducing your issue.

BTW, i see that you're on a legacy version, I don't plan to maintain the prior version of angular. I m not sure, but it's possible that this issue was fixed but not in your version.

issue closed the error was not related to the framework but issue by myself. Thank you

@logicappsource Can you tell us how did you fix this error? :')