Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to resolve module ./publicGlobals #6026

Open
alexprigi opened this issue May 16, 2024 · 4 comments
Open

Unable to resolve module ./publicGlobals #6026

alexprigi opened this issue May 16, 2024 · 4 comments
Labels
Missing info The user didn't precise the problem enough Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS

Comments

@alexprigi
Copy link

Description

Hi,
I am trying to upgrade react-native-reanimated from v2 to v3 and I am getting this error.
I have already added the plugin line in the babel.config.js file

Simulator Screenshot - iPhone 15 Pro Max - 2024-05-15 at 15 41 31

Steps to reproduce

upgrade reanimated from v2 to v3

Snack or a link to a repository

a

Reanimated version

3.11.0

React Native version

0.73.8

Platforms

Android, iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

@github-actions github-actions bot added Missing info The user didn't precise the problem enough Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS labels May 16, 2024
Copy link

Hey! 👋

It looks like you've omitted a few important sections from the issue template.

Please complete Snack or a link to a repository section.

Copy link

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@github-actions github-actions bot added the Missing repro This issue need minimum repro scenario label May 16, 2024
@szydlovsky
Copy link
Contributor

szydlovsky commented May 16, 2024

Hello @alexprigi 👋 According to our docs, migrating from Rea v2 to Rea v3 shouldn't break any stuff: docs page. I can, however, suggest a few steps to make sure everything is freshly installed and cleaned:

  1. Run git clean -xdf from the root of the project. It cleans whole lot of caches, node_modules, pods and others
  2. Execute yarn also in the root
  3. If you're using iOS, do: cd ios && bundle install && bundle exec pod install - recently this is the recommended way to install the pods in a react native project
  4. When running, do yarn start --reset-cache to make sure packager cache is also cleaned

Let me know if it changes anything!

@alexprigi
Copy link
Author

HI @szydlovsky Thank you for your suggestions.
I have tried to follow what you suggested, but unfortunately I keep getting the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing info The user didn't precise the problem enough Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS
Projects
None yet
Development

No branches or pull requests

2 participants