com.facebook.react.modules.core.JavascriptException

undefined is not an object (evaluating 'i.readDir'), stack: <unknown>@629:187 o@2:517 e@2:326 i@2:188 <unknown>@628:299 o@2:517 e@2:326 i@2:188 <unknown>@365:1403 o@2:517 e@2:326 i@2:188 <unknown>@12:101 o@2:517 e@2:256 i@2:188 global code@635:9

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web20

  • via GitHub by npomfret
    , 9 months ago
    undefined is not an object (evaluating 'i.readDir'), stack: <unknown>@629:187 o@2:517 e@2:326
  • <unknown>@12:32 o@2:517 e@2:256 i@2:188 global code@819:9
  • via GitHub by skating507
    , 7 months ago
    Requiring unknown module "../../../update.json"., stack: n@2:700 o@2:404 e@2:326 i@2:188 <unknown>@375:246 o@2:517 e@2:326 i@2:188 <unknown>@12:88 o@2:517 e@2:256 i@2:188 global code@556:9
  • Stack trace

    • com.facebook.react.modules.core.JavascriptException: undefined is not an object (evaluating 'i.readDir'), stack: <unknown>@629:187 o@2:517 e@2:326 i@2:188 <unknown>@628:299 o@2:517 e@2:326 i@2:188 <unknown>@365:1403 o@2:517 e@2:326 i@2:188 <unknown>@12:101 o@2:517 e@2:256 i@2:188 global code@635:9 at com.facebook.react.modules.core.ExceptionsManagerModule.showOrThrowError(ExceptionsManagerModule.java:94) at com.facebook.react.modules.core.ExceptionsManagerModule.reportFatalException(ExceptionsManagerModule.java:78) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.facebook.react.bridge.BaseJavaModule$JavaMethod.invoke(BaseJavaModule.java:319) at com.facebook.react.bridge.NativeModuleRegistry$ModuleDefinition.call(NativeModuleRegistry.java:187) at com.facebook.react.bridge.NativeModuleRegistry.call(NativeModuleRegistry.java:62) at com.facebook.react.bridge.CatalystInstanceImpl$NativeModulesReactCallback.call(CatalystInstanceImpl.java:432) at com.facebook.react.bridge.queue.NativeRunnableDeprecated.run(Native Method) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:31) at android.os.Looper.loop(Looper.java:137) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:193) at java.lang.Thread.run(Thread.java:856)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.