Closed kmafeni04 closed 7 months ago
@kmafeni04
Hi! Had this issue, found a workaround. You can try do the following:
luarocks init --lua-version=5.1
luarocks install lapis
lapis new
eval $(luarocks path)
lapis serve
Hope it helps
@DKlygov Thank you, this works, but it creates so many files. Is this the only workaround?
@kmafeni04
Well, you can always write a .gitignore file, so there is nothing to worry about, tbh. Just don't ignore a .rockspec file. You can install all the deps with luarocks install --only-deps <your-file-name>.rockspec --lua-version=5.1
I'm following the manual guide and tried to start the server. Received this error :
I've also tried installing lpeg using luarocks