react-native-reanimated: When debugging is enabled, the application crashes without errors

after upgrading from version 1.13.2 to 2.3.1, the application began to break as soon as you turn on debugging

I added the plugin to babel.config.js added changes to the MainApplication.java but it didn’t help

I have completely cleaned all the caches

rd %localappdata%\Temp\metro-cache /s /q
del %localappdata%\Temp\haste-map*
gradlew clean
rd node_modules /q /s
npm cache clean --force
npm start -- --reset-cache

But nothing helps

here’s what it looks like - https://gyazo.com/3ef2d1377993b55ecd6a27549eb21267

My package.json

{
    "name": "svyaznoy-travel",
    "version": "9.7.0",
    "private": false,
    "scripts": {
        "android": "react-native run-android",
        "ios": "react-native run-ios",
        "start": "react-native start",
        "test": "jest",
        "lint": "eslint src -c .eslintrc.json --ext js,jsx",
        "lint-fix": "eslint src -c .eslintrc.json --ext js,jsx --fix",
        "debug": "open 'rndebugger://set-debugger-loc?host=localhost&port=8081'"
    },
    "dependencies": {
        "@babel/plugin-transform-runtime": "^7.13.10",
        "@ptomasroos/react-native-multi-slider": "^2.2.2",
        "@react-native-community/async-storage": "^1.11.0",
        "@react-native-community/masked-view": "^0.1.10",
        "@react-native-community/netinfo": "^6.0.0",
        "@react-native-community/progress-bar-android": "^1.0.4",
        "@react-native-community/progress-view": "^1.2.4",
        "@react-native-community/push-notification-ios": "^1.8.0",
        "@react-native-firebase/app": "^12.1.0",
        "@react-native-firebase/crashlytics": "^12.1.0",
        "@react-native-firebase/messaging": "^12.1.0",
        "@react-navigation/drawer": "^5.12.5",
        "@react-navigation/native": "^5.9.4",
        "@react-navigation/stack": "^5.14.4",
        "@types/lodash": "^4.14.168",
        "@types/ptomasroos__react-native-multi-slider": "0.0.2",
        "@types/react-redux": "^7.1.16",
        "axios": "^0.21.1",
        "babel-plugin-module-resolver": "^4.1.0",
        "babel-plugin-transform-remove-console": "^6.9.4",
        "immutability-helper": "^3.1.1",
        "lodash": "^4.17.21",
        "moment": "^2.29.1",
        "qs": "^6.10.1",
        "react": "17.0.2",
        "react-native": "0.67.1",
        "react-native-add-calendar-event": "^4.0.0",
        "react-native-apay": "git+ssh://git@bitbucket.org:svyaznoy-travel/react-native-apay",
        "react-native-appsflyer": "^6.3.20",
        "react-native-background-timer": "^2.4.1",
        "react-native-debugger": "^1.1.0",
        "react-native-device-info": "^8.0.8",
        "react-native-flash-message": "^0.1.23",
        "react-native-gesture-handler": "^1.10.3",
        "react-native-google-pay": "^2.1.0",
        "react-native-image-picker": "^2.3.3",
        "react-native-linear-gradient": "^2.5.6",
        "react-native-masked-text": "^1.13.0",
        "react-native-pdf": "6.3.0",
        "react-native-push-notification": "^7.3.1",
        "react-native-reanimated": "^2.3.1",
        "react-native-safe-area-context": "^3.2.0",
        "react-native-screens": "^3.0.0",
        "react-native-sensors": "^7.2.0",
        "react-native-svg": "^12.1.0",
        "react-native-webview": "^11.3.2",
        "react-redux": "^7.2.3",
        "redux": "^4.0.5",
        "redux-devtools-extension": "^2.13.9",
        "redux-thunk": "^2.3.0",
        "reselect": "^4.0.0",
        "rn-fetch-blob": "^0.12.0",
        "sp-react-native-in-app-updates": "^1.1.5",
        "tslint": "^6.1.2",
        "typescript": "^4.2.3"
    },
    "devDependencies": {
        "@babel/core": "^7.12.9",
        "@babel/runtime": "^7.12.5",
        "@react-native-community/eslint-config": "^2.0.0",
        "@types/react": "^17.0.3",
        "@types/react-native": "^0.64.2",
        "babel-eslint": "^10.1.0",
        "babel-jest": "^26.6.3",
        "eslint": "7.14.0",
        "eslint-config-airbnb": "^18.2.1",
        "eslint-config-prettier": "^8.1.0",
        "eslint-plugin-import": "^2.22.1",
        "eslint-plugin-jsx-a11y": "^6.4.1",
        "eslint-plugin-prettier": "^3.3.1",
        "eslint-plugin-react": "^7.23.1",
        "jest": "^26.6.3",
        "lint-staged": "^10.5.4",
        "metro-react-native-babel-preset": "^0.66.2",
        "prettier": "2.2.1",
        "react-native-typescript-transformer": "^1.2.13",
        "react-test-renderer": "17.0.2"
    },
    "jest": {
        "preset": "react-native"
    },
    "lint-staged": {
        "*.{js,jsx}": [
            "eslint --fix",
            "git add"
        ]
    }
}

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 23 (3 by maintainers)

Most upvoted comments

still crashes in 2.8.0

It is crashing for me tooo

any chance this can be reopened? Still crashing on 2.8

At first yes, I agree but in terms of performance this is better. Much better and faster. You can use Flipper to Debug. It can be enough in most cases.

Still crashing on 2.9.1