I\'m using a local module in package.json that also has react-native as a dependency.
In my APP package.json:
I also got the same error. I tried below steps, its works like a charming.
Please remove all react-native specific folders from "%appdata%\Temp" and then try below commands:
rimraf node_modules
npm cache clean --force
npm install
rm -rf ios/build
Change /Users/Jebasuthan/XcodeProject/Game/ios/Pods/React/package.json to something else
non recursive