Cannot find module "localforage"
See original GitHub issueI’m getting this error: Cannot find module "localforage"
I followed the tutorial from ionic page: https://ionicframework.com/docs/v2/storage/
without installing SQLite
plugin.
This is my environment:
Ionic Framework: 2.0.0-rc.5
Ionic Native: 2.2.11
Ionic App Scripts: 1.0.0
Angular Core: 2.2.1
Angular Compiler CLI: 2.2.1
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
how to get rid of typescript error message "Cannot find module ...
First - install type definitions from: localforage. Second - change your import to: import {localforage} from 'localforage';.
Read more >localforage - npm
localForage improves the offline experience of your web app by using asynchronous storage (IndexedDB or WebSQL) with a simple, localStorage - ...
Read more >localforage-cordovasqlitedriver - npm package - Snyk
The npm package localforage-cordovasqlitedriver was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was deemed ...
Read more >localForage - GitHub Pages
localForage is a JavaScript library that improves the offline experience of ... and for compatibility reasons localForage cannot store the value undefined ....
Read more >Updating project to App Scripts 1.0.0 failing (using latest ionic ...
Cannot find module “localforage”. Here is my system info: Cordova CLI: 6.4.0. Ionic Framework Version: 2.0.0-rc.3. Ionic CLI Version: 2.2.1
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Have you tried removing the
@ionic/storage
package and re-install it again? That worked for me:Hello,
Please try :
npm install --save localforage
npm install --save localforage-cordovasqlitedriver
Hope it helps 😃