iOS: Unable to resolve module `.utils/AnimatedPoint` after upgrading to version 8.2.0-beta2
See original GitHub issueAfter upgrading the package version to 8.2.0-beta2
from 7.2.0
and trying to run the application on a simulator, an app crashes with the message “Unable to resolve module .utils/AnimatedPoint
from node_modules/@react-native-mapbox-gl/maps/javascript/index.js
”.
I’ve also tried putting $ReactNativeMapboxGLIOSVersion = '~> 6.3'
to the Podfile, but this error happened both with 6.3.0 and 5.9.0 mapbox sdk
To Reproduce
Upgrade version to 8.2.0-beta2 and try to run the app
Expected behavior
The application should work normally
Screenshots
Versions (please complete the following information):
- Platform: iOS
- Platform OS: iOS 14.3
- Device: iPhone 11 Pro
- Emulator/ Simulator: yes
- react-native-mapbox-gl Version [8.2.0-beta2]
- Mapbox GL version [6.3.0 and 5.9.0]
- React Native Version [0.63.4]
Additional context
I’ve seen that folder structure has changed, and AnimatedPoint
has been moved to the animated
folder, but I cannot find anywhere in the code that .utils/AnimatedPoint
is trying to be imported
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top GitHub Comments
Did you try
MapboxGL.AnimatedPoint
? https://github.com/react-native-mapbox-gl/maps/blob/f7006102db37be02a8214713aefe9682ac3fa6e2/javascript/index.js#L109It has actually started happening again, and also cleaning the whole cache didn’t help. It seems like it might be some kind of cache issue, but I will reopen it as there is still no concrete solution