Cannot read property 'apply' of undefined
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.
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<WorkersListProps> = ({ 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
- Create new Project
- Install react native windows
- Install react native navigation and react native reanimated
- Set up navigation
- 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
Any news here? Having the exact same one.