Giter Site home page Giter Site logo

Comments (5)

maxdeviant avatar maxdeviant commented on May 29, 2024

@QuanTumli What version of the library are you using?

from redux-persist-transform-encrypt.

QuanTumli avatar QuanTumli commented on May 29, 2024

Here are the dependencies from my package.json:

"dependencies": {
    "react": "15.4.1",
    "react-native": "^0.39.2",
    "react-redux": "^5.0.1",
    "redux": "^3.6.0",
    "redux-persist": "^4.0.1",
    "redux-persist-transform-encrypt": "^0.2.0"
  }

from redux-persist-transform-encrypt.

maxdeviant avatar maxdeviant commented on May 29, 2024

@QuanTumli Looks like the problem is that React Native doesn't have access to the native Node module events.

It's a dependency stemming from readable-stream, which is only needed for the async encryptor.

The v0.2.0 release is a bit messy, so my plan is to cut another release soon, where the sync and async encryptors are behind separate exports, so my hope is React Native will be able to ignore the problematic dependency.

from redux-persist-transform-encrypt.

maxdeviant avatar maxdeviant commented on May 29, 2024

@QuanTumli Would you mind trying this out with v1.0.0 and see if it fixes your issue?

from redux-persist-transform-encrypt.

QuanTumli avatar QuanTumli commented on May 29, 2024

@maxdeviant Thanks, the error with the module events is gone now.
But now there's a new error, I've opened another bug #12 and will close this one.

from redux-persist-transform-encrypt.

Related Issues (20)

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.