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

__reanimatedLoggerConfig #6839

Open
hoantq19 opened this issue Dec 20, 2024 · 2 comments
Open

__reanimatedLoggerConfig #6839

hoantq19 opened this issue Dec 20, 2024 · 2 comments
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android

Comments

@hoantq19
Copy link

Description

file logger.ts in node-module react-native renimate there is an error
Cannot find name '__reanimatedLoggerConfig'.t .How do i modify

Steps to reproduce

import Carousel from 'react-native-reanimated-carousel';

<Carousel
autoPlay={true}
loop={true}
autoPlayInterval={3000}
width={deviceWidth}
height={240}
data={[]}
onSnapToItem={(index) => {
this.setState({ activeSlide: index });
this.forceUpdate();
}}
renderItem={(item: { item: ImageHomeModel, index: Number }) => this.RenderImageHome(item.item)}
/>

Snack or a link to a repository

git

Reanimated version

3.6.1

React Native version

0.75.4

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

pixel 7a

Acknowledgements

Yes

@github-actions github-actions bot added Platform: Android This issue is specific to Android Missing repro This issue need minimum repro scenario labels Dec 20, 2024
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?

@tlow92
Copy link

tlow92 commented Dec 20, 2024

After upgrading to expo 52 I also received this error and took me a long time to figure out what caused it, because I could not reproduce it in an empty fresh project.

I had some configuration in metro.config.js (I think some leftover from past times where it was needed for react-native-skia web).

Can you check if you have one of the options activated?
Removing this piece fixed the issue for me.

config.transformer.getTransformOptions = async () => ({
  transform: {
    experimentalImportSupport: false,
    inlineRequires: true,
  },
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android
Projects
None yet
Development

No branches or pull requests

2 participants