Skip to content

Error installing library in ubuntu #93

Description

@mateusxxlima

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions