Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#163 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
git, typescript, vscode
领域
tooling

调研方向

从 VS Code 插件管理器以及附加日志第 322 行中描述的 simple-git 失败开始。复现全新 Windows 环境下的设置,然后确认本地 Git 前置条件已被记录,或者缺少可执行文件时会产生有用的已处理错误,而不是未捕获的 spawn git ENOENT。

由索引模型根据 Issue 内容生成。

描述

addon manager
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

The relevant line is line 322.

主要语言
TypeScript
星标
216
派生
64
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

LuaLS/vscode-lua 的其他 Issue

查看 LuaLS/vscode-lua 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。