Error installing library in ubuntu

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

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

Đánh giá

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

Hướng nghiên cứu

The report names no project file or test. Start by reproducing sudo luarocks install jsonschema --verbose on Ubuntu and inspect the dependency clone command for net-url; compare it with the reported Git configuration. Done means the installation failure is explained and a verified resolution or maintainer-directed next step is recorded.

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

Mô tả

Hello, I want to use jsonschema in my TCC project, but I'm having some problems

When I run the command sudo luarocks install jsonschema I get the following error

Installing https://luarocks.org/jsonschema-0.9.9-0.src.rock
Missing dependencies for jsonschema 0.9.9-0:
   net-url (not installed)
   lrexlib-pcre == 2.9.1-1 (not installed)

jsonschema 0.9.9-0 depends on net-url (not installed)
Installing https://luarocks.org/net-url-1.2-1.rockspec
Cloning into 'neturl'...
fatal: unable to connect to github.com:
github.com[0: 20.201.28.151]: errno=Connection timed out


Error: Failed installing dependency: https://luarocks.org/net-url-1.2-1.rockspec - Failed cloning git repository.

But everything is fine with git and github on my machine

when I use the --verbose flag I can see that luarocks is using git:// instead of https://

os.execute: 	cd '/tmp/luarocks_net-url-1.2-1-BrL1dz' && 'git' 'clone' '--branch=v1.2-1' '--depth=1' 'git://github.com/golgote/neturl.git' 'neturl'
Cloning into 'neturl'...

I've already run the command git config --global url."https://github.com/".insteadOf git://github.com/, but it doesn't work

Thanks if anyone help me

Ngôn ngữ chính
Lua
Star
136
Fork
29
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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.

Issue khác của api7/jsonschema

Tất cả issue của api7/jsonschema

Issue tương tự

Thêm issue về Lua

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.