Open emclab opened 3 years ago
Also receiving this in RN 0.65.2 with Hermes
@emclab The culprit is your dependency from native-base.
I was able to resolve this by switching from npm to yarn and adding to package.json:
"resolutions": {
"@codler/react-native-keyboard-aware-scroll-view": "2.0.0"
},
"dependencies": {
...
"@codler/react-native-keyboard-aware-scroll-view": "2.0.0"
},
There are other workarounds for forcing dependencies in npm, but they are quite cumbersome.
The error pops up in my RN 0.66.3 app with macOS Big Sur/Xcode 13. One of the modules installed (not sure which one) in the app installed @codler/react-native-keyboard-aware-scroll-view as dependency which was version 1.0.0 and it thrower error on IOS simulator.
After reminding by one fellow on stackoverflow.com, I updated react-native-keyboard-aware-scroll-view to the latest which 2.0.0 and the error briefly disappeared. However after the reloading of the app, the exactly same error comes back again and now it states. Tried to re-installed the module again and it didn't help. Here is the dependencies of the app:
Here is the screen shot of simulator:
Is it a bug? How to fix the error?