lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, May 19, 2014 at 9:00 PM, luciano de souza <luchyanus@gmail.com> wrote:

> $ sudo apt-get install lua5.1
> $ sudo apt-get install luarocks
> $ sudo luarocks install luaxml
> $ lua
>> require('luaxml')
> "Module 'luaxml' is not found'".
>
> Does someone knows why it occurs and how to solve it?

pcall(require, 'luarocks') -- i think.
require('luaxml')