React-Native: Unknown module "response / lib / ReactPropTypesSecret" required

I am trying to compile the main branch of a reactive repo to send a PR. I follow the docs https://facebook.imtqy.com/react-native/docs/android-building-from-source.html

But, doing what the docs say, I get the following error on Android:

Requiring unknown module "react/lib/ReactPropTypesSecret

Also running on ios gives a similar error:

Unable to resolve module react/lib/ReactPropTypesSecret from /Users/aakash/Projects/TestingPR/node_modules/react-native/Libraries/Utilities/deprecatedPropType.js: Unable to find this module in its module map or any of the node_modules directories under /Users/node_modules/react/lib/ReactPropTypesSecret

+5
source share
1 answer

This problem occurs when a ReactNative application based on RN 0.28 or later is updated to RN 0.30 or later, without also updating the reactive package, at least to 15.3.0.

Have you tried this?

If this does not solve your problem, you should provide your package package.json.

+12
source

All Articles