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

Cannot read property 'apply' of undefined #6686

Open
GenGraphic opened this issue Nov 11, 2024 · 0 comments
Open

Cannot read property 'apply' of undefined #6686

GenGraphic opened this issue Nov 11, 2024 · 0 comments
Labels
Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS Repro provided A reproduction with a snippet of code, snack or repo is provided

Comments

@GenGraphic
Copy link

Description

I m trying to make an App that is avalible on Window, IOS and Android. But on Windows i get this error very often, so instead showing the Red Error screen with the error details i get this Error witch point to eact-native-reanimated, i tried a lot of verions but i can figure it out. This is actually an infinite loop, because if i don't close it, it keep counting.
Screenshot 2024-11-11 061458
Screenshot 2024-11-11 061845

For exemple, my App crash once this code block is rendered; makes no sense because there is no error, but even if there is one, it should be the error details related to my code:
`import { StyleSheet, Text, View } from 'react-native';
import React from 'react';
import { Worker } from '@models/index';

interface WorkersListProps {
data: Worker[];
}

const WorkersListComponent: React.FC = ({ data }) => {

return (
    <View style={styles.body}>
        {data.map((worker, index) => {
            return (
                <View>
                    <Text>{worker.firstName}</Text>
                </View>
            )
        })
        }
    </View>
);

}

export default WorkersListComponent

const styles = StyleSheet.create({
body: {

}

})`

Steps to reproduce

  1. Create new Project
  2. Install react native windows
  3. Install react native navigation and react native reanimated
  4. Set up navigation
  5. Try to trigger an error.

Snack or a link to a repository

https://github.com/GenGraphic/zeier-arbeitgeber

Reanimated version

^3.16.1

React Native version

^0.75.1

Platforms

Android, iOS

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Paper (Old Architecture)

Build type

Debug app & dev bundle

Device

None

Device model

Windows 11

Acknowledgements

Yes

@github-actions github-actions bot added Repro provided A reproduction with a snippet of code, snack or repo is provided Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS Repro provided A reproduction with a snippet of code, snack or repo is provided
Projects
None yet
Development

No branches or pull requests

1 participant