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

[rush] 5.180.0 `rush.lock` file causing failures

未关闭
#6,114 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃

调研方向

Start by comparing rush install and rush update with Rush 5.179.0 and 5.180.0 on Windows 11, using the versions and settings listed for rush.json and pnpm-config.json. Check how each attempt affects common/temp/rush.lock; done means the 5.180.0 commands no longer fail with the reported lock-path error.

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

描述

Summary

Rush version 5.180.0 seems to break on rush install and rush update. Both of these commands work fine when using 5.179.0, but as soon as we set rushVersion to 5.180.0, the following error appears:

ERROR: The lock path must identify one unshared regular file: V:\[REPOSITORY]\common\temp\rush.lock

This file seems to persist after any attempt to invoke a rush command, and is always completely empty.

We noticed a similar issue in our pipelines too. All attempts to invoke rush commands have been failing since just after the release of 5.180.0 (we install latest).

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/rush globally installed version? 5.180.0
rushVersion from rush.json? 5.180.0
pnpmVersion, npmVersion, or yarnVersion from rush.json? 10.14.0
(if pnpm) useWorkspaces from pnpm-config.json? true
Operating system? Windows 11
Would you consider contributing a PR? Doesn't seem applicable
Node.js version (node -v)? 22.16.0
主要语言
TypeScript
星标
6.5k
派生
710
平均合并
1 天 23 小时
30 天内合并 PR
47

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

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

microsoft/rushstack 的其他 Issue

查看 microsoft/rushstack 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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