NativeScript / NativeScript/nativescript-cli
MacOS setup does not work past homebrew install
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,在完成 Xcode 和 Homebrew 設定後,於 macOS Mojave 上重現 sudo tns run ios,重點關注安裝 Google Chrome 並 tap homebrew/cask 的步驟。檢查 CLI 如何處理回報的 curl 逾時和失敗的 git clone;當設定完成或顯示清楚且可採取行動的失敗資訊時,即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- git, ios, javascript, macos
- 領域
- cli, devtools, mobile-dev
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100