Skip to content

Victory Native is not aware of react-native-reanimated #631

@MrPand-21

Description

@MrPand-21

My environment is the following :

 "expo": "^54.0.10",
    "expo-camera": "~17.0.8",
    "expo-contacts": "~15.0.8",
    "expo-haptics": "~15.0.7",
    "expo-router": "^6.0.8",
    "expo-sensors": "~15.0.7",
    "expo-splash-screen": "^31.0.10",
    "expo-status-bar": "^3.0.8",
    "nativewind": "4.2.1",
    "react": "19.1.0",
    "react-dom": "19.1.0",
    "react-native": "0.81.4",
    "react-native-calendars": "^1.1313.0",
    "react-native-reanimated": "4.1.2",
    "react-native-safe-area-context": "5.6.1",
    "react-native-worklets": "0.6.0",
    "tailwindcss": "3.4.17",
    "typescript": "~5.9.2",
    "victory-native": "^41.20.1"

Describe the Problem

I get " ERROR [Error: react-native-reanimated is not installed!] " although I have the latest version installed, probably victory-native tries to react something not supported in the latest version. I use plain victory objects.

Expected behavior:

No error

Additional Information

My IDE also gives error on imports, saying Module '"victory-native"' has no exported member 'VictoryAxis'.ts(2305)

import { VictoryAxis, VictoryChart, VictoryLine, VictoryScatter } from "victory-native";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions