Я получаю следующую ошибку, когда у меня установлен react-native-reanimated:
Animated node with ID 2 Already exists
И эта ошибка, когда я ее удаляю:
Unrecognized Operator min
- Онлайн-решения чтобы исправить первую проблему, сделайте вывод, что react-native-reanimated должно быть удалено
- Онлайн-решения для исправления второй проблемы заключают, что react-native-reanimate должно быть установлено
Как исправить оба?
Вот мой package.json
:
{
"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",
"clean": "rm -rf node_modules yarn.lock && yarn install"
},
"dependencies": {
"@expo/vector-icons": "^10.2.0",
"axios": "^0.19.2",
"expo": "^38.0.9",
"expo-mail-composer": "^8.2.1",
"expo-splash-screen": "^0.3.1",
"firebase": "7.9.0",
"lodash": "^4.17.19",
"lottie-react-native": "~2.6.1",
"material-colors": "^1.2.6",
"native-base": "^2.13.13",
"react": "^16.13.1",
"react-dom": "~16.11.0",
"react-native": "^0.63.2",
"react-native-cheerio": "^1.0.0-rc.4",
"react-native-keyboard-aware-scrollview": "^2.1.0",
"react-native-modal": "^11.5.6",
"react-native-phone-call": "^1.0.9",
"react-native-reanimated": "~1.9.0",
"react-native-render-html": "^4.2.2",
"react-native-root-toast": "^3.2.1",
"react-native-safe-area-context": "~3.0.7",
"react-native-screens": "^2.9.0",
"react-native-simple-toast": "^1.1.2",
"react-native-skeleton-content": "^1.0.18",
"react-native-web": "^0.13.4",
"react-native-webview": "9.4.0",
"react-navigation": "^4.4.0",
"react-navigation-drawer": "^2.5.0",
"typescript": "^3.9.7",
"typescript-eslint": "^0.0.1-alpha.0",
"valid-url": "^1.0.9"
},
"devDependencies": {
"@babel/core": "^7.8.6",
"@typescript-eslint/eslint-plugin": "^3.6.1",
"@typescript-eslint/parser": "^3.6.1",
"eslint": "7.4.0",
"eslint-config-airbnb": "18.2.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-jsx-a11y": "6.3.1",
"eslint-plugin-react": "7.20.3",
"eslint-plugin-react-hooks": "4.0.6"
},
"private": true
}