Giter Club home page Giter Club logo

Comments (3)

thgreasi avatar thgreasi commented on June 8, 2024

Ionic storage (which I think come pre-installed w/ ionic) uses localforage v1.4 + the respective @types.
The easy & dirty fix would be to just delete node_modules/@types/localforage (please try this initially and post back your findings).
You will probably have to use v1.1 of this library which is compatible with localforage v1.4 that ionic uses.

There is already a PR in ionic-storage to upgrade their localforage dependency.

from localforage-observable.

wac2007 avatar wac2007 commented on June 8, 2024

Deleting node_modules/@types/localforage fix the problem. Thanks!

from localforage-observable.

thgreasi avatar thgreasi commented on June 8, 2024

👍 Cheers
Can I ask you a favor?
Can you try restoring the @types/localforage folder (eg with a new npm i) and try setting the exclude property of your tsconfig.json to

    "exclude": [
        /* ... , */
        "node_modules/@types/localforage"
    ]

and report back your findings?

from localforage-observable.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.