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}
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