NativeScript / NativeScript/nativescript-cli

MacOS setup does not work past homebrew install

Đang mở
#4,910 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

needs more info question
Ngôn ngữ chính
JavaScript
Star
1.1k
Fork
204
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
8

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện sudo tns run ios trên macOS Mojave sau khi thiết lập Xcode và Homebrew, tập trung vào bước cài đặt Google Chrome và tap homebrew/cask. Kiểm tra cách CLI xử lý curl timeout được báo cáo và git clone thất bại; được xem là hoàn tất khi quá trình thiết lập hoàn thành hoặc hiển thị lỗi rõ ràng, có thể xử lý.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
git, ios, javascript, macos
Lĩnh vực
cli, devtools, mobile-dev
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.