react-native-reanimated icon indicating copy to clipboard operation
react-native-reanimated copied to clipboard

Can't run reanimated 3.7.2 with expo 50.0.1, but reanimated 3.6.0 can

Open ht19 opened this issue 11 months ago • 4 comments

Description

i getting start with follow step in guild line: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/getting-started, I can't run bundle on ios device, it get error:

Exception in HostFunction: <unknown>, "main" has not been registered. This can happen if: 
*Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.

Then i'm downgrade react-native-reanimated to ~3.6.0, it can run normally.

Steps to reproduce

  1. npx create-expo-app my-app -e with-reanimated
  2. yarn add react-native-reanimated
  3. Add (plugins: [ ... 'react-native-reanimated/plugin', ],)
  4. yarn start --reset-cache
  5. Getting error like in this Description above

Snack or a link to a repository

https://snack.expo.dev/@tlhbuildapp/error-with-reanimated-3-7-2

Reanimated version

3.7.2

React Native version

0.73.2

Platforms

iOS

JavaScript runtime

None

Workflow

Expo Go

Architecture

None

Build type

None

Device

Real device

Device model

No response

Acknowledgements

Yes

ht19 avatar Mar 02 '24 11:03 ht19

Downgrading to 3.6.0 worked me as well. Thanks.

scriptprojectsdev avatar Mar 07 '24 02:03 scriptprojectsdev

Today, Expo 50.0.13 was released, and it's still recommending the RNR as 3.6.2. Unfortunately, in this version, the Keyframe is broken, and when I try to upgrade to version 3.7+, I get the following error: image

luiz504 avatar Mar 15 '24 11:03 luiz504

I attempting an upgrade to Expo SDK 50 (from 49) and I'm using Keyframe which worked in 3.3.0 which I was using before. Since Expo seems pinned to reanimated 3.6.2, I can't upgrade because Keyframe doesn't seem to be working in 3.6.2.

AdamGerthel avatar Mar 20 '24 20:03 AdamGerthel

Is there an update on this issue?

vinceprofeta avatar Mar 28 '24 22:03 vinceprofeta