tradle / rn-nodeify

hack to allow react-native projects to use node core modules, and npm modules that use them
MIT License
614 stars 114 forks source link

Incompatibility with React Native v0.65.1 #108

Open afaqRns opened 2 years ago

afaqRns commented 2 years ago

Please update review dependencies for this package. react-native-tcp is not up to date and it is causing problem while running project with react native version 0.65.1

akinncar commented 2 years ago

what's your problem? maybe this can help https://github.com/tradle/rn-nodeify/issues/94

afaqRns commented 2 years ago

what's your problem? maybe this can help #94

The problem is react-native-tcp has older version which is making it incompatible with react-native v0.65.1. In build.gradle compile is used instead of implementation. This causes build time errors.

lirimkrosa commented 2 years ago

I patched the module and published on npmjs

remove react-native-tcp and rn-nodeify from package.json sudo rm -rf node_modules sudo rm- rf package-lock.json cd ios && sudo rm -rf Pods npm install @lirimkrosa/rn-nodeify or yarn add @lirimkrosa/rn-nodeify