rizaumami / tdcli.lua

A simple Lua library for the telegram-cli
GNU General Public License v3.0
52 stars 30 forks source link

no field package.preload['tdcli'] #5

Closed emmtte closed 7 years ago

emmtte commented 7 years ago
no field package.preload['tdcli']
        no file '/usr/local/share/lua/5.2/tdcli.lua'
        no file '/usr/local/share/lua/5.2/tdcli/init.lua'
        no file '/usr/local/lib/lua/5.2/tdcli.lua'
        no file '/usr/local/lib/lua/5.2/tdcli/init.lua'
        no file '/usr/share/lua/5.2/tdcli.lua'
        no file '/usr/share/lua/5.2/tdcli/init.lua'
        no file './tdcli.lua'
        no file '/usr/local/lib/lua/5.2/tdcli.so'
        no file '/usr/lib/arm-linux-gnueabihf/lua/5.2/tdcli.so'
        no file '/usr/lib/lua/5.2/tdcli.so'
        no file '/usr/local/lib/lua/5.2/loadall.so'
        no file './tdcli.so'

I found it but in 5.1 What's wrong?

rizaumami commented 7 years ago

Seems like your script unable to found the module. Try to:

emmtte commented 7 years ago

Ok, thanks it's working