Skip to content

Possible squat package in docs #17329

@noelsoong-simplicity

Description

@noelsoong-simplicity

Which part? Which one?

@sentry/react-native

Description

The docs recommend running:

This works when @sentry/react-native is installed because it provides that bin. However, there's a third-party npm package squatting the name:

https://www.npmjs.com/package/sentry-expo-upload-sourcemaps

If someone mistakenly runs npm install sentry-expo-upload-sourcemaps, they'd install this unofficial package instead of using the bin from @sentry/react-native.

Suggested fix: Either squat the name officially, or update the docs to clarify that the command comes from @sentry/react-native (not a standalone package).

Docs link: https://docs.sentry.io/platforms/react-native/sourcemaps/uploading/expo/

Suggested Solution

use the official cli way instead

pnpx @sentry/cli sourcemaps upload --org {org-name-in-app.json} --project {your-sentry-project}

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions