Closed sajadghawami closed 7 months ago
This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed.
This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.
Issue Description
In our monorepo setup, we are encountering a build error with
sentry-expo
. The error occurs during the build step, specifically at theUpload Debug Symbols to Sentry
stage. The error message displayed is../node_modules/@sentry/cli/bin/sentry-cli: No such file or directory
, followed byerror: API request failed
. This issue is preventing us from successfully completing our build process.I am pretty sure it has to do with our
monorepo
setup and that thenode_modules
are not where they are expected to be.Expected Behavior
The expected behavior is that the build should complete successfully, including the uploading of debug symbols to Sentry without any errors.
Actual Behavior
Instead of a successful build, the process fails at the 'Upload Debug Symbols to Sentry' step. The error reported is
../node_modules/@sentry/cli/bin/sentry-cli: No such file or directory
, which is immediately followed byerror: API request failed
.Managed or bare workflow? If you have
ios/
orandroid/
directories in your project, the answer is bare!bare
What platform(s) does this occur on?
Android, iOS
SDK Version (managed workflow only)
~48.0.18
Environment
Environment Details
Reproducible demo or steps to reproduce from a blank project
In a monorepo setup, where the app is in
/apps/app
In the project directory, installsentry-expo
using the command:Install the additional required Expo module packages with: