Module JSTimersExecution error sdk 20


#1

hi

just updated form sdk 19 to 20, followed the doc then removed node_modules etc and run npm install, my app is detached so ran it again then rebuilded it and stil this damn error ?

my package.json is

{
  "name": "mobibat",
  "version": "0.0.1",
  "description": "Mobibat",
  "author": "Laguillaumie Sylvain",
  "private": true,
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "debug": "rndebugger-open --open --port 19001"
  },
  "dependencies": {
    "@appandflow/touchable": "^1.1.1",
    "apollo-client": "1.9.0-0",
    "expo": "^20.0.0",
    "moment-with-locales-es6": "^2.18.1",
    "react": "16.0.0-alpha.12",
    "react-apollo": "^1.4.8",
    "react-native": "https://github.com/expo/react-native/archive/sdk-20.0.0.tar.gz",
    "react-native-geocoder": "^0.4.8",
    "react-native-keyboard-responsive-view": "^0.1.7",
    "react-native-maps": "^0.16.1",
    "react-native-material-cards": "^1.0.5",
    "react-native-tts": "^1.4.0",
    "react-navigation": "^1.0.0-beta.11",
    "react-redux": "^5.0.5",
    "redux": "^3.7.2",
    "redux-logger": "^3.0.6",
    "redux-thunk": "^2.2.0",
    "styled-components": "^2.1.1",
    "underscore": "^1.8.3"
  },
  "devDependencies": {
    "eslint": "^4.3.0",
    "eslint-config-equimper": "^2.2.1",
    "eslint-config-prettier": "^2.3.0",
    "prettier": "^1.5.3",
    "redux-devtools-extension": "^2.13.2"
  }
}

error:

D:\projets\batexpert\mobibat-expo\node_modules\react-native\Libraries\Core\ExceptionsManager.js:65 Module JSTimersExecution is not a registered callable module (calling callTimers)

expo 0.44
rn 0.47.1
sdk 22

anyone can help please!! ?


#2

did you edit app.json ?


#3

yes too

maybe a problem with the detach ?

{
  "expo": {
    "name": "Mobibat",
    "description": "Application de gestion des feuilles de route de carottage",
    "slug": "tablet",
    "privacy": "unlisted",
    "sdkVersion": "20.0.0",
    "version": "1.0.0",
    "orientation": "landscape",
    "primaryColor": "#cccccc",
    "icon": "./assets/icons/app-icon.png",
    "loading": {
      "icon": "./assets/icons/loading-icon.png",
      "hideExponentText": true
    },
    "packagerOpts": {
      "assetExts": [
        "ttf",
        "mp4"
      ]
    },
    "ios": {
      "supportsTablet": true
    },
    "android": {
      "package": "fr.batexpert.mobibat",
      "permissions": [
        "CAMERA",
        "ACCESS_FINE_LOCATION"
      ]
    },
    "isDetached": true,
    "detach": {
      "scheme": "expedc187a24c6a47849fb44801638bce64",
      "androidExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/android-v1.18.4-sdk19.0.0-3fb414c9-8696-4966-a0ac-9ca424242424.tar.gz"
    }
  }
}

#4

hello

as we can see in my lastest post i have

"isDetached": true,
    "detach": {
      "scheme": "expedc187a24c6a47849fb44801638bce64",
      "androidExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/**android-v1.18.4-sdk19.0.0**-3fb414c9-8696-4966-a0ac-9ca424242424.tar.gz"
    }

so i removed it and removed the .expo-source in my root folder root, then made exp detach again !

now i have the good version

,
    "isDetached": true,
    "detach": {
      "scheme": "exp4e3482e97e334130a3426ab8d7122882",
      "androidExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/android-v1.19.1-sdk20.0.0-5b613054-1239-439f-9c3a-0aad67cbe39a.tar.gz"
    }

i m rebuilding now, wish it will fix !


#5

PROBLEM FIXED ! might be good to update your doc for a detached app… (or maybe i missed it :p)

thanks !


#6

I think this is covered here: https://docs.expo.io/versions/latest/guides/expokit.html#upgrading-expokit. If you think it’s missing something can you send a PR?


#7

Hello, I also have same error with SDK20. is there any solution for this problem??