tradle / rn-nodeify

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

`inherits` package doesn't work, but it used to before #69

Closed uriva closed 4 years ago

uriva commented 6 years ago

When trying to run android, I'm getting Object prototype may only be an Ojbect or null on the inherits package (inherits_browser.js:5)

Note that this is the inherits package that is inside util. E.g. the complete path of the file throwing the exception is .../my_app/node_modules/util/node_modules/inherits/inherits_browser.js

I ran rn-nodeify --install --hack to no avail.

My rn-nodeify version is 10.0.0.

Any ideas?

mvayngrib commented 4 years ago

sounds like a problem with what inherits is being called on, rather than inherits itself. Closing for now, but if you have more info, happy to reopen