LuaLS / LuaLS/lua-language-server
Error script\config\config.lua:136: unknown key: [lua]
Open
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
- Go to Addon Manager
- Click Enable
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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