Unable to resolve "metro-runtime/src/modules/asyncRequire" from ""

  1. SDK Version: 48.0.0
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I have upgraded my project expo Sdk from 47.0.0 to 48.0.0,
and while running the application i’m getting error: Unable to resolve “metro-runtime/src/modules/asyncRequire” from “”.
I am using dev-client for build the app.
and Im unable to build new apk as getting,
FAILURE: Build completed with 2 failures.

[RUN_GRADLEW] 1: Task failed with an exception.

[RUN_GRADLEW] -----------

[RUN_GRADLEW] * What went wrong:

[RUN_GRADLEW] Execution failed for task ‘:app:createBundleReleaseJsAndAssets’.

[RUN_GRADLEW] > Process ‘command ‘node’’ finished with non-zero exit value 1

[RUN_GRADLEW] * Try:

[RUN_GRADLEW] > Run with --stacktrace option to get the stack trace.

[RUN_GRADLEW] > Run with --info or --debug option to get more log output.

[RUN_GRADLEW] > Run with --scan to get full insights.

[RUN_GRADLEW] ==============================================================================

[RUN_GRADLEW] 2: Task failed with an exception.

[RUN_GRADLEW] -----------

[RUN_GRADLEW] * What went wrong:

[RUN_GRADLEW] java.lang.StackOverflowError (no error message)

[RUN_GRADLEW] * Try:

[RUN_GRADLEW] > Run with --stacktrace option to get the stack trace.

[RUN_GRADLEW] > Run with --info or --debug option to get more log output.

[RUN_GRADLEW] > Run with --scan to get full insights.

[RUN_GRADLEW] ==============================================================================

[RUN_GRADLEW] * Get more help at https://help.gradle.org

[RUN_GRADLEW] BUILD FAILED in 50s
error.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.