Skip to content

Version between github and luarocks are different #5

@QimatLuo

Description

@QimatLuo

I installed this library and run the example code in readme, but get faild.

lua: /usr/local/share/lua/5.1/jsonschema/init.lua:161: bad argument #1 to 'load' (function expected, got string)                                                                                                  
stack traceback:
        [C]: in function 'load'
        /usr/local/share/lua/5.1/jsonschema/init.lua:161: in function </usr/local/share/lua/5.1/jsonschema/init.lua:160>                                                                                          
        (tail call): ?
        a.lua:5: in main chunk
        [C]: ?

I also find some differences between the actual code I installed and github.
For example, local coro_yield = coroutine.yield is not on luarocks version.
But it's in github source code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions