Skip to content

No sourcemaps detected. Did you specify the correct directory #1829

@aaronpliu

Description

@aaronpliu

Bug description

for React Native project, output sourcemaps and bundle with index.android.bundle and index.android.bundle.map.
Follow https://docs.datadoghq.com/real_user_monitoring/guide/upload-javascript-source-maps/?tab=webpackjs,
I rename index.android.bundle to android.js and index.android.bundle.map to android.map, then using datadog ci
datadog-ci sourcemaps upload ./dist --service aos --release-version 5.0.0 --minified-path-prefix https://hqdatadog.com/static/ --max-concurrency 5
It throw error: "No sourcemaps detected. Did you specify the correct directory?"
What's standard filename?

Describe what you expected

No response

Steps to reproduce the issue

No response

Additional context

No response

Command

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions