LuaLS / LuaLS/lua-language-server

Error script\config\config.lua:136: unknown key: [lua]

Open
#3,168 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
4.4k
Forks
442
PR merge metrics
No merged PRs in 30d

Description

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Windows

What is the issue affecting?

Other

Expected Behaviour

Addon will be enabled

Actual Behaviour

addon is not turning on

Reproduction steps
  1. Go to Addon Manager
  2. Click Enable
  3. See error
[2025-04-27 08:55:58] |    WARN   |        Addon       | Failed to apply settings of "moonloader"
[2025-04-27 08:55:58] |    WARN   |        Addon       | [08:55:58.869][error][#0]: script\config\config.lua:136: unknown key: [lua]
stack traceback:
	[C]: in function 'assert'
	script\config\config.lua:136: in function 'config.config.prop'
	script\client.lua:536: in function 'client.setConfig'
	script\core\command\setConfig.lua:10: in function 'core.command.setConfig'
	(...tail calls...)
	[C]: in function 'xpcall'
	script\proto\proto.lua:202: in function <script\proto\proto.lua:177>
Additional Notes

No response

Log File

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure through the Addon Manager, then start at script\config\config.lua:136 and follow the stack through script\client.lua:536 and script\core\command\setConfig.lua:10. Determine why the moonloader settings contain the unsupported [lua] key; done means the addon enables without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.