Skip to content

Instantly share code, notes, and snippets.

@Mkarena
Created August 16, 2019 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mkarena/95ada0f74ac170c5b4635f802cb2e12b to your computer and use it in GitHub Desktop.
Save Mkarena/95ada0f74ac170c5b4635f802cb2e12b to your computer and use it in GitHub Desktop.
Lua module error
nakama | {"level":"error","ts":"2019-08-16T11:00:29.237Z","msg":"Could not complete runtime invocation","error":"/nakama/data/modules/nakama/data/modules/authenticate.lua:2: module debug_utils not found:\n\tno field package.preload['debug_utils']\n\tno cached module 'debug_utils', \nstack traceback:\n\t[G]: in function 'require'\n\t/nakama/data/modules/nakama/data/modules/authenticate.lua:2: in main chunk\n\t[G]: ?","stacktrace":"github.com/heroiclabs/nakama/server.(*RuntimeLua).loadModules\n\t/go/src/github.com/heroiclabs/nakama/server/runtime_lua.go:1639\ngithub.com/heroiclabs/nakama/server.newRuntimeLuaVM\n\t/go/src/github.com/heroiclabs/nakama/server/runtime_lua.go:1801\ngithub.com/heroiclabs/nakama/server.NewRuntimeProviderLua\n\t/go/src/github.com/heroiclabs/nakama/server/runtime_lua.go:216\ngithub.com/heroiclabs/nakama/server.NewRuntime\n\t/go/src/github.com/heroiclabs/nakama/server/runtime.go:416\nmain.main\n\tmain.go:111\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:200"}
nakama | {"level":"error","ts":"2019-08-16T11:00:29.237Z","msg":"Error initialising Lua runtime provider","error":"/nakama/data/modules/nakama/data/modules/authenticate.lua:2: module debug_utils not found:\n\tno field package.preload['debug_utils']\n\tno cached module 'debug_utils', \nstack traceback:\n\t[G]: in function 'require'\n\t/nakama/data/modules/nakama/data/modules/authenticate.lua:2: in main chunk\n\t[G]: ?","stacktrace":"github.com/heroiclabs/nakama/server.NewRuntime\n\t/go/src/github.com/heroiclabs/nakama/server/runtime.go:418\nmain.main\n\tmain.go:111\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:200"}
nakama | {"level":"fatal","ts":"2019-08-16T11:00:29.237Z","msg":"Failed initializing runtime modules","error":"/nakama/data/modules/nakama/data/modules/authenticate.lua:2: module debug_utils not found:\n\tno field package.preload['debug_utils']\n\tno cached module 'debug_utils', \nstack traceback:\n\t[G]: in function 'require'\n\t/nakama/data/modules/nakama/data/modules/authenticate.lua:2: in main chunk\n\t[G]: ?","stacktrace":"main.main\n\tmain.go:113\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:200"}
nakama exited with code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment