Skip to content

Task :app:bundleReleaseJsAndAssets_SentryUpload FAILED #830

@dori871992

Description

@dori871992

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native
  • react-native-sentry

SDK version: 1.3.7
react-native version: 0.61.3"

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • on-premise

I have following issue:

CicrleCi build is failing due to error:

  • What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets_SentryUpload'.
> Process 'command '/root/project/yeppik-react-native/node_modules/@sentry/cli/bin/sentry-cli'' finished with non-zero exit value 1

Steps to reproduce:

  • run ./gradlew assembleRelease for android

Actual result:

Loading dependency graph, done.
 ▸ Task :app:bundleReleaseJsAndAssets FAILED
 ▸ Task :app:bundleReleaseJsAndAssets_SentryUpload FAILED
Processing react-native sourcemaps for Sentry upload.
error: No such file or directory (os error 2)

Expected result:

Loading dependency graph, done.
 ▸ info Writing bundle output to:, /root/project/android/app/build/generated/assets/react/release/index.android.bundle
 ▸ info Writing sourcemap output to:, /root/project/android/app/build/intermediates/sourcemaps/react/release/index.android.bundle.packager.map
 ▸ info Done writing bundle output
 ▸ info Done writing sourcemap output
 ▸ info Copying 2 asset files
 ▸ info Done copying assets

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions