You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ""]: 112: in function 'PostPic'
[string ""]: 185: in main chunk
To add: The original Lua source code was successfully run directly with Lua
The text was updated successfully, but these errors were encountered:
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 ""]: 112: in function 'PostPic'
[string ""]: 185: in main chunk
To add: The original Lua source code was successfully run directly with Lua
The text was updated successfully, but these errors were encountered: