LuaLS / LuaLS/vscode-lua

Please clarify that you need a local installation of git for the addons to work

Open
#163 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

addon manager
Dominant language
TypeScript
Stars
215
Forks
62
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?

Libraries

### Expected Behaviour

I expected the extension to work out of the box or have a a set up guide.

### Actual Behaviour

Currently on windows the addon manager throws an uncaught `spawn git ENOENT` without any details. I had to go back through the logs to figure it out, that I need a local git installation.

### Reproduction steps

1. Install Visual Studio on a fresh windows machine
2. Install the lua lls extension
3. Try to open the addon manager
4. Get the `spawn git ENOENT` error with the trimmed logs

### Additional Notes

It would be enough to include a section in the documentation, or handle this error.

### Log File

I'm including the extension log as this is a dependency issue with `simple-git`

[exthost.log](https://github.com/user-attachments/files/18966474/exthost.log)

The relevant line is line 322.

Contributor guide

No contributing guide indexed for this repository

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

Start at the VS Code add-on manager and the simple-git failure described in line 322 of the attached log. Reproduce the fresh-Windows setup, then verify that the local Git prerequisite is documented or that the missing executable produces a useful handled error instead of an uncaught spawn git ENOENT.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.