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, is there any way to install and import lua modules?
I want to import hmac module inside lua script so I can create a new signature for every request, but i got this error instead
./script.lua: ./extension.lua:1: module 'hmac' not found:
no field package.preload['hmac']
no file './hmac.lua'
no file '/usr/local/share/luajit-2.0.3/hmac.lua'
no file '/usr/local/share/lua/5.1/hmac.lua'
no file '/usr/local/share/lua/5.1/hmac/init.lua'
no file './hmac.so'
no file '/usr/local/lib/lua/5.1/hmac.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
The text was updated successfully, but these errors were encountered:
Hello, is there any way to install and import lua modules?
I want to import
hmac
module inside lua script so I can create a new signature for every request, but i got this error insteadThe text was updated successfully, but these errors were encountered: