-
-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@sentry/cli binary doesn't download (leads to iOS build failure) #2688
Comments
Hi, You can try to reinstall dependencies or install the CLI manually by |
@krystofwoldrich Thank you for checking this! Here is a screenshot. I see @sentry/cli but not @sentry/cli/sentry-cli. Is this a problem? |
@krystofwoldrich @jeremyfalldev Same issue on my side. :( |
@capella55 @jeremyfalldev For some reason the CLI install script didn't download the CLI binary or didn't get executed. Try to execute it manually. cd node_modules/@sentry/cli
node ./scripts/install.js |
@krystofwoldrich Yes, it seems like the CLI install script does not work properly. Please check this screenshot. It has been never completed 100% and I don't see |
Are you able to download the file from the URL manually? https://downloads.sentry-cdn.com/sentry-cli/1.74.4/sentry-cli-Darwin-universal @capella55 So the @kamilogorek Do you know what could cause this? |
@krystofwoldrich Yes, I can download the file from the URL manually. |
I tried to replicate the issue locally but with no luck. I see that your output is not TTY, as then it'd not print multiple progressbar lines (it shouldn't anyway as bar should be rendered in TTY environments only anyway ¯_(ツ)_/¯). I wonder if it may have something to do with it. Can you try to run it with |
Same issue using a yarn monorepo, running |
@robgraeber Not exactly the same as for you the But anyway could you share what tools are you using, what OS, yarn version, node version... Maybe some of it will help us to fix the issue. |
Hmm I tried reproducing it in another repo but can't reliably. I also deleted my Here's the repo of what I'm doing, it reproduced one time but doesn't happen when I try it again. https://github.com/robgraeber/sentry-test |
@robgraeber Thanks for the repo I'll try it and let you know if I managed to reproduce it. |
@robgraeber I'm sorry for the wait, sadly I still can't reproduce the issue. I've tried the repo with the same version of node and yarn, but no luck. |
I will close this for now, as we are not able to reproduce the issue, if there would be some new context we could try feel free to inform us, and we can reopen the issue and continue with it. |
In case some internet searcher comes along in the future... I'm also using Not sure what precisely solved it for me, but it works now. Here's everything I did. I moved
Then these commands
|
@grossadamm Thank you for sharing this. |
Environment
os: macOS 12.6
platform: iOS
yarn: 1.22.19
react: 17.0.2
react-native: 0.68.2
I created a new React-Native project by running
npx react-native init AwesomeProject --version 0.68.0
.After that, I ran the following commands to install
Sentry
.I have the following issue:
The text was updated successfully, but these errors were encountered: