Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How i can use it in windows #24

Closed
farhadhp opened this issue Jan 5, 2017 · 6 comments
Closed

How i can use it in windows #24

farhadhp opened this issue Jan 5, 2017 · 6 comments

Comments

@farhadhp
Copy link

farhadhp commented Jan 5, 2017

How i can use it in windows ?

@yurevich1
Copy link

Just install lua into your Windows OS and use it.

@farhadhp
Copy link
Author

farhadhp commented Jan 8, 2017

Thanks,
I installed lua but not run this script!

@farhadhp
Copy link
Author

farhadhp commented Jan 8, 2017

C:\Users\farhad\Downloads\Compressed\lua-telegram-bot-master\lua-telegram-bot-master λ lua bot.lua lua: bot.lua:27: module 'lua-bot-api' not found: no field package.preload['lua-bot-api'] no file 'C:\Program Files (x86)\Lua\5.1\lua\lua-bot-api.luac' no file '.\lua-bot-api.dll' no file '.\lua-bot-api51.dll' no file 'C:\Program Files (x86)\Lua\5.1\lua-bot-api.dll' no file 'C:\Program Files (x86)\Lua\5.1\lua-bot-api51.dll' no file 'C:\Program Files (x86)\Lua\5.1\clibs\lua-bot-api.dll' no file 'C:\Program Files (x86)\Lua\5.1\clibs\lua-bot-api51.dll' no file 'C:\Program Files (x86)\Lua\5.1\loadall.dll' no file 'C:\Program Files (x86)\Lua\5.1\clibs\loadall.dll' stack traceback: [C]: in function 'require' bot.lua:27: in main chunk [C]: ?

@ldb
Copy link
Owner

ldb commented Jan 9, 2017

Everything has to be in the same directory.

@yurevich1
Copy link

The sciprt cannot find your lua-bot script. Where do you place your code and this lib?

@ldb
Copy link
Owner

ldb commented Jan 16, 2017

Everything has to be in the same directory.

@ldb ldb closed this as completed Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants