NativeScript / NativeScript/nativescript-cli
MacOS setup does not work past homebrew install
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
Running on Mojave 10.14.5
Personal computer on home network, no proxy.
Describe the bug
Created project directory using tns create HelloWorld --template tns-template-blank-ng command.
Running sudo tns run ios prompts initial setup. Setup works fine with xcode install. After this it hangs on installing Google Chrome and any subsequent installs via Homebrew.
Installing Homebrew...
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Operation timed out
Homebrew 2.1.8
Homebrew/homebrew-core (git revision 8498; last commit 2019-07-29)
Allow the script to install Google Chrome?
(Y)es/(N)o
y
Installing Google Chrome (required to debug NativeScript apps)
==> Tapping homebrew/cask
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask'...
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
Error: Failure while executing; git clone https://github.com/Homebrew/homebrew-cask /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask --depth=1 exited with 128.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/utils.rb:264:in safe_system'
/usr/local/Homebrew/Library/Homebrew/tap.rb:279:in install'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:158:in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:124:in run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:102:in
WARNING: Google Chrome not installed
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing sudo tns run ios on macOS Mojave after Xcode and Homebrew setup, focusing on the step that installs Google Chrome and taps homebrew/cask. Check how the CLI handles the reported curl timeout and failed git clone; done means the setup completes or presents a clear, actionable failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, ios, javascript, macos
- Domain
- cli, devtools, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100