EvandroLG / pegasus.lua

:rocket: Pegasus.lua is an http server to work with web applications written in Lua language.
http://evandrolg.github.io/pegasus.lua/
MIT License
421 stars 36 forks source link

Socket not found #109

Closed klierkleutertjes closed 2 years ago

klierkleutertjes commented 2 years ago

In init.lua when i try to run it it says it cannot find socket.lua, how do I fix this?

Tieske commented 2 years ago

make sure to have luasocket installed. Easiest is probably using LuaRocks to install the packages

EvandroLG commented 2 years ago

Did you install Pegasus through LuaRocks @klierkleutertjes? If so, all dependencies should be installed automatically, including luasockets.