You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running sentry-cli react-native xcode --allow-fetch tries to fetch from /index.ios.bundle.
Where a project has a common entry point (index.js), this file may not exist.
Steps to reproduce:
Create a react native project with a common index.js entrypoint for both Android and iOS.
Actual result:
An error is produced in the bundler logs, as sentry tries to fetch /index.ios.bundle
I am closing all old issues, please if this is still a problem feel free to revive it.
Also, consider moving to our new SDK @sentry/react-native if it still happens there please open a new issue.
OS:
Platform:
Output of
node -v && npm -v && npm ls --prod --depth=0
Config:
I have following issue:
Running
sentry-cli react-native xcode --allow-fetch
tries to fetch from/index.ios.bundle
.Where a project has a common entry point (
index.js
), this file may not exist.Steps to reproduce:
index.js
entrypoint for both Android and iOS.Actual result:
/index.ios.bundle
Expected result:
index.bundle
.The issue is caused by the hardcoded extension here:
https://github.com/getsentry/sentry-cli/blob/227668a9cb118f58342bec803b7eb62cb08a6e2c/src/commands/react_native_xcode.rs#L184-L191
The text was updated successfully, but these errors were encountered: