question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Ionic] Can't use @ionic/storage

See original GitHub issue

Ionic Storage is one of the most used Ionic packages as it provides a super simple key-value store that is perfectly intergrated: https://ionicframework.com/docs/storage/

Unfortunately this is not usable on StackBlitz right now:

https://stackblitz.com/edit/ionic-zgw273?file=app%2Fapp.module.ts image

I added the dependency, could also import the library but as soon as I add the IonicStorageModule.forRoot() line to the import everything is broken.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
apai4commented, Aug 26, 2017
1reaction
apai4commented, Aug 26, 2017

The main field should be ES5 not ES2015, looks like there’s an issue already open for it here: https://github.com/ionic-team/ionic-storage/issues/29

Read more comments on GitHub >

github_iconTop Results From Across the Web

In Ionic4 Data storage and local storage is not working in the ...
For reference:In Ionic 4 while i login as user i store a token in local storage and Data storage and using that token...
Read more >
Ionic Storage not working with multiple Services - Stack Overflow
Now I restructured my Code with a new Ini-Service, where I also want to use Storage and it's not working. It's not setting...
Read more >
Unable to Store data in ANDROID 11 (API 30) #244 - GitHub
To solve this, we have changed our Ionic storage to use IndexDB rather than SQLite. In Angular, we change the root instantiation to...
Read more >
How to use Ionic Storage v3 with Ionic Angular - YouTube
The latest Ionic Storage v3 release came with some breaking changes that we will implement in a ... Your browser can't play this...
Read more >
Storing Data in React apps with Ionic Storage - YouTube
Learn to store data in your React apps with the Ionic Storage package that automatically selects the ... Your browser can't play this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found