Skip to content

Android debug build > :app:bundleDebugJsAndAssets_SentryUpload FAILED #539

@Brianvdb

Description

@Brianvdb

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android
> Task :app:bundleDebugJsAndAssets_SentryUpload FAILED
  INFO    2019-01-31 15:57:24.025993 +01:00 Loaded config from /Users/brian/.sentryclirc
  DEBUG   2019-01-31 15:57:24.027105 +01:00 sentry-cli version: 1.37.4, platform: "darwin", architecture: "x86_64"
  INFO    2019-01-31 15:57:24.027133 +01:00 sentry-cli was invoked with the following command line: "/Users/brian/punten-app/node_modules/@sentry/cli/sentry-cli" "--log-level" "debug" "react-native" "gradle" "--bundle" "/Users/brian/punten-app/android/app/build/generated/assets/react/debug/index.android.bundle" "--sourcemap" "/Users/brian/punten-app/android/app/build/generated/assets/react/debug/index.android.bundle.map" "--release" "nl.puntje.business-1.0.8" "--dist" "8"
  INFO    2019-01-31 15:57:24.030271 +01:00   bundle path: /Users/brian/punten-app/android/app/build/generated/assets/react/debug/index.android.bundle
  INFO    2019-01-31 15:57:24.030290 +01:00   sourcemap path: /Users/brian/punten-app/android/app/build/generated/assets/react/debug/index.android.bundle.map
Processing react-native sourcemaps for Sentry upload.
> Analyzing 2 sources
  DEBUG   2019-01-31 15:57:24.031403 +01:00 error: running update nagger
  DEBUG   2019-01-31 15:57:24.031692 +01:00 skipping update nagger because session is not attended
error: No such file or directory (os error 2)
  DEBUG   2019-01-31 15:57:24.037634 +01:00 client close; no transport to shut down  (from sentry)

Config:

index.js

Sentry.config('https://...@sentry.io/...').install()

I have following issue:

I am getting a build error when running react-native run-android

Steps to reproduce:

  • Install react native sentry
  • Link it
  • Run react-native run-android
  • Getting ask :app:bundleDebugJsAndAssets_SentryUpload FAILED error.

Why does it attempt to upload source map for debug build? Can I disable this?

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