I just did a clean clone of my repo, did npm install and then pod install in the ios/ directory. This leads to a change in my Podfile.lock, which seemed to have upgraded a couple of modules to a newer version than what is specified in the package.json for that corresponding module, for example:
Podfile.lock:
- - react-native-webview (8.1.0):
+ - react-native-webview (8.2.1):
package.json:
"react-native-webview": "^8.1.0",
I would like to understand why this happens and whether this is a problem. I would avoid this but I can't do npm run ios, because it says that there are version issues and I have to run pod install.
When i get deep issues with Podfile/package.json, i do something like that:
./node_modules;package-lock.json and Podfile.lock;^8.1.0" -> "8.1.0" [w/o ^];npm install then pod install.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With