Skip to content

error when running app on Android #3

Description

@fukemy

I saw this log on my app start:

Possible Unhandled Promise Rejection (id: 0):
TypeError: undefined is not a function
TypeError: undefined is not a function
    at ?anon_0_ (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:285387:73)
    at next (native)
    at asyncGeneratorStep (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:1277:26)
    at _next (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:1296:29)
    at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:1301:14)
    at tryCallTwo (/root/react-native/ReactAndroid/hermes-engine/.cxx/Release/2q6r403w/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
    at doResolve (/root/react-native/ReactAndroid/hermes-engine/.cxx/Release/2q6r403w/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
    at Promise (/root/react-native/ReactAndroid/hermes-engine/.cxx/Release/2q6r403w/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
    at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:1293:25)
    at apply (native)
    at _setInitialState (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:285390:38)
    at apply (native)
    at setInitialState (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:285383:38)
    at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:285392:22)
    at commitHookEffectListMount (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:71926:38)
    at commitPassiveMountOnFiber (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:72952:44)
    at commitPassiveMountEffects_complete (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:72924:40)
    at commitPassiveMountEffects_begin (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:72914:47)
    at commitPassiveMountEffects (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:72904:40)
    at flushPassiveEffectsImpl (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:74098:34)
    at flushPassiveEffects (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:74058:43)
    at performSyncWorkOnRoot (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:73547:28)
    at flushSyncCallbacks (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:64928:36)
    at flushSyncCallbacksOnlyInLegacyMode (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:64913:29)
    at batchedUpdates$1 (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:73587:47)
    at batchedUpdates (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:62923:36)
    at _receiveRootNodeIDEvent (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:62991:23)
    at receiveEvent (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:63014:32)
    at apply (native)
    at __callFunction (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:4818:36)
    at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:4579:31)
    at __guard (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:4769:15)
    at callFunctionReturnFlushedQueue (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.vedaxlink&modulesOnly=false&runModule=true:4578:21)

After open the localhost log, navigate to line 285387, I saw this:
Screenshot 2023-07-10 at 11 20 09

Can u fixed this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions