Closed amlwwalker closed 3 weeks ago
But I keep getting error error: test:1: could not find package 'cjson'
golua cannot use c written libraries.
I tried a simpler script but now I get Lua Version: Golua 5.4 System Information: error error: test:3: attempt to index a nil value
you did not load the oslib
Golua runs on the Go runtime, I have no plan to support C libraries!
I am trying to install and use luarocks modules (e.g cjson) - I'm failing lol... is there a way to do this?
I created a function to install modules from my Go app and I want to install them locally (working directory) so not to pollute the OS.
I have
Now i want to execute a script that require's for instance
cjson
:But I keep getting
error error: test:1: could not find package 'cjson'
I tried a simpler script
but now I get
what am I doing wrong to get erorrs in both instances?