I have created project in mac in android running fine but i am getting error to run in ios.
Error console log as below:
Failed to successfully download 'glog-0.3.5.tar.gz'. Debug info:
ls: /Users/mac1/.rncache/glog-0.3.5.tar.gz: No such file or directory
shasum: /Users/mac1/.rncache/glog-0.3.5.tar.gz:
Command PhaseScriptExecution failed with a nonzero exit code
I am behind proxy so i think not allowing to download from github.
is there any solution or work around ?
We are automatically closing this issue because it does not appear to follow any of the provided issue templates.
Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.
If you'd like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose.
I just encountered this problem. I'm behind proxy too. Looks like proxy setup is required to whatever command line tool is used by react-native to download the file.
However, I can manually download the required .tar.gz files from web browser.
Here's what I did.
Download the .tar.gz files. The url to download the files can be found at the bottom of file node_modules/react-native/scripts/ios-install-third-party.sh
Manually copy and paste all the .tar.gz files to ~/.rncache
run react-native run-ios. This time it should be able to pick up the file from ~/.rncache folder, and unpacked them.
I also encountered this issue while behind an Outline VPN.
Most helpful comment
I just encountered this problem. I'm behind proxy too. Looks like proxy setup is required to whatever command line tool is used by react-native to download the file.
However, I can manually download the required .tar.gz files from web browser.
Here's what I did.
Download the .tar.gz files. The url to download the files can be found at the bottom of file
node_modules/react-native/scripts/ios-install-third-party.shManually copy and paste all the .tar.gz files to
~/.rncacherun
react-native run-ios. This time it should be able to pick up the file from~/.rncachefolder, and unpacked them.