astoff / digestif

A language server for TeX and friends
Other
255 stars 6 forks source link

invalid value (boolean) at index 1 in table for 'concat' #4

Closed ZenWayne closed 5 years ago

ZenWayne commented 5 years ago
stack traceback:
        [C]: in function 'table.concat'
        /usr/share/lua/5.3/luarocks/core/dir.lua:21: in function 'luarocks.core.dir.path'
        /usr/share/lua/5.3/luarocks/cmd.lua:160: in upvalue 'get_lua_version'
        /usr/share/lua/5.3/luarocks/cmd.lua:287: in function 'luarocks.cmd.run_command'
        /usr/bin/luarocks:38: in main chunk
        [C]: in ?

I execute the command sudo luarocks install https://github.com/astoff/digestif/raw/master/rockspec/digestif-scm-1.rockspec get those errors

astoff commented 5 years ago

It seems your luarocks is not working. Maybe you should try to reinstall it. I've seen issues where different versions of lua are installed at the same time and create conflicts.

ZenWayne commented 5 years ago

thanks for the quick reply. It seems that it is because of luarocks. I follow the issue #1004 from issue of luarocks and solve it finally.