Closed emmtte closed 7 years ago
Seems like your script unable to found the module. Try to:
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua;.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require('tdcli')
If the steps above didn't works, just download the tdcli.lua
file, place it in your project directory, and directly load it.
Ok, thanks it's working
I found it but in 5.1 What's wrong?