Call lua socket.http via lupa
Hello! I installed lupa, luajit. At the same time, I installed lua 5.3.5 under a non-root user, and used luarocks to install socket.http. Then use lupa execute lua file (lua source code line 112 has the following code: local http = require ("socket.http")) but it prompts the following when running:
error loading module 'socket.http' from file '/ mnt / sda / Dev_Tools / LUA / lua / share / lua / 5':
cannot read / mnt / sda / Dev_Tools / LUA / lua / share / lua / 5: Is a directory
stack traceback:
[C]: in?
[C]: in function 'require'
[string "

To add: The original Lua source code was successfully run directly with Lua
Looks like an issue with your installation somehow.