alexZajac / react-native-skeleton-content

A customizable skeleton-like loading placeholder for react native projects using expo.
https://www.npmjs.com/package/react-native-skeleton-content
MIT License
601 stars 135 forks source link

Bezier node argument should be of type AnimatedNode, But got AnimatedOperator #23

Closed tebantebanteban closed 1 year ago

tebantebanteban commented 4 years ago

Hi! Expo throw error

Captura de Pantalla 2020-06-28 a la(s) 12 46 02
{
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web",
    "eject": "expo eject"
  },
  "dependencies": {
    "@fortawesome/fontawesome-svg-core": "^1.2.29",
    "@fortawesome/free-regular-svg-icons": "^5.13.1",
    "@fortawesome/free-solid-svg-icons": "^5.13.1",
    "@fortawesome/react-native-fontawesome": "^0.2.5",
    "@ptomasroos/react-native-multi-slider": "^2.2.2",
    "@react-native-community/masked-view": "0.1.6",
    "@react-navigation/bottom-tabs": "^5.5.2",
    "@react-navigation/material-top-tabs": "^5.2.10",
    "@react-navigation/native": "^5.5.1",
    "@react-navigation/stack": "^5.5.1",
    "expo": "^37.0.12",
    "expo-linear-gradient": "~8.1.0",
    "react": "~16.9.0",
    "react-dom": "~16.9.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz",
    "react-native-gesture-handler": "~1.6.0",
    "react-native-gifted-chat": "^0.16.1",
    "react-native-iphone-x-helper": "^1.2.1",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-maps": "0.26.1",
    "react-native-maps-directions": "^1.8.0",
    "react-native-reanimated": "^1.9.0",
    "react-native-safe-area-context": "0.7.3",
    "react-native-screens": "~2.2.0",
    "react-native-skeleton-content": "^1.0.17",
    "react-native-svg": "11.0.1",
    "react-native-swiper": "^1.6.0",
    "react-native-tab-view": "^2.14.4",
    "react-native-web": "~0.11.7"
  },
  "devDependencies": {
    "@babel/core": "^7.8.6",
    "@babel/runtime": "^7.6.2",
    "@react-native-community/eslint-config": "^1.1.0",
    "@types/jest": "^25.2.3",
    "@types/react": "~16.9.23",
    "@types/react-native": "~0.61.17",
    "@types/react-test-renderer": "^16.9.2",
    "babel-jest": "^24.9.0",
    "babel-plugin-module-resolver": "^4.0.0",
    "babel-preset-expo": "~8.1.0",
    "eslint": "^7.3.1",
    "eslint-plugin-prettier": "^3.1.4",
    "husky": "^2.4.1",
    "jest": "^24.9.0",
    "jetifier": "^1.6.5",
    "lint-staged": "^8.2.1",
    "metro-react-native-babel-preset": "^0.58.0",
    "prettier": "^1.19.1",
    "react-test-renderer": "^16.11.0",
    "reactotron-react-native": "^3.7.1",
    "schedule": "^0.5.0",
    "typescript": "~3.8.3"
  },
  "private": true,
  "jest": {
    "preset": "react-native"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{js,json,md}": [
      "prettier --write",
      "git add"
    ]
  },
  "eslintConfig": {
    "extends": "@react-native-community"
  }
}
ivan-jorge001 commented 4 years ago

any fixes?

louischeminant commented 3 years ago

Got the same issue as you when I updated to expo SDK 39. Just downgraded from "react-native-reanimated": "~1.13.0" to "react-native-reanimated": "~1.9.0".

doylemark commented 3 years ago

Package appears to be incompatible with SDK39/reanimated 1.13.0

louischeminant commented 3 years ago

Actually, I succeeded to make it works with SDK39/reanimated 1.13.0. I just copy paste the code from the snack (SkeletonContent.tsx) into a component. Then instead of calling import SkeletonContent from 'react-native-skeleton-content';, you call you component. make sure to leave "react-native-skeleton-content": "^1.0.20", in you package.json tho..

amin79 commented 3 years ago

Any solution for that? I get same error: Invariant Violation: Reanimated: Bezier node argument should be of type AnimatedNode but got AnimatedOperator, id: 476

Acex187x commented 3 years ago

Updating reanimated solved problem for me

saad9624-tribalScale commented 2 years ago

Same Error: Renimated: Bezier node argument should be of type AnimatedNode but .... react-native-reanimated": "^2.2.3 react-native-skeleton-content": "^1.0.24

alexZajac commented 2 years ago

Is this issue still happening?

k-czech commented 2 years ago

Is this issue still happening?

Yes, I have still the same issue "react-native-reanimated": "^1.13.2" "react-native-skeleton-content": "^1.0.24"

alexZajac commented 1 year ago

Is this issue still happening with the latest deployment?

alexZajac commented 1 year ago

Closing as there was no update from requester.