question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS: Unable to resolve module `.utils/AnimatedPoint` after upgrading to version 8.2.0-beta2

See original GitHub issue

After 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
Screenshot 2021-06-16 at 15 15 18

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:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nemanjagajiccommented, Jun 22, 2021

It 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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to resolve module · Issue #11498 · facebook/react-native
After installing Axios with NPM, I imported it, ... version: 0.17.10; Xcode version: 8.2 (8C38); React Native version: 0.39.2; Platform: iOS ...
Read more >
React Native: Unable to Resolve Module - ios - Stack Overflow
import HelloReact from '/src/components/HelloReact'; searches for module in absolute path, not relative to current(rn app) directory and so ...
Read more >
Troubleshooting | React Navigation
I'm getting an error "Unable to resolve module" after updating to the latest version​. This might happen for 3 reasons: Stale cache of...
Read more >
Unable to resolve "module" from "node_modules/esm/esm.js ...
Hi, I just upgraded to SDK 39 from SDK38, I tried to run my app in the iOS emulator and I get a...
Read more >
unable to resolve module react native - You.com | The search ...
Note: Both of these solutions are temporary and soonly this bug will be fixed and there is no need to install the toolbar-android...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found