fork(5) download
  1. -- your code goes herelocal zlib = require "zlib"
  2. local cjson = require "cjson"
  3. local ngx = require "ngx"
Runtime error #stdin #stdout #stderr 0.02s 2536KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
lua: prog.lua:2: module 'cjson' not found:
	no field package.preload['cjson']
	no file './cjson.lua'
	no file '/usr/local/share/lua/5.1/cjson.lua'
	no file '/usr/local/share/lua/5.1/cjson/init.lua'
	no file '/usr/local/lib/lua/5.1/cjson.lua'
	no file '/usr/local/lib/lua/5.1/cjson/init.lua'
	no file '/usr/share/lua/5.1/cjson.lua'
	no file '/usr/share/lua/5.1/cjson/init.lua'
	no file './cjson.so'
	no file '/usr/local/lib/lua/5.1/cjson.so'
	no file '/usr/lib/lua/5.1/cjson.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
	[C]: in function 'require'
	prog.lua:2: in main chunk
	[C]: ?