[Feature] Fix EAS configuration relying on global CLI installation
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- node.js, react-native, typescript
- 领域
- tooling
调研方向
找到 Expo 的“Create EAS config file”命令及其相关测试和文档。检查它如何调用 CommandExecutor.execute(),并阅读初始化指南。更新该命令,使其从项目根目录运行 npx eas-cli build:configure --platform all,删除未使用的 nodeModulesRoot 字段,并更新指南以使用 npx eas-cli init;当测试和文档涵盖此更改,且现有 eas.json 文件和执行错误保留所述行为时,即完成。
由索引模型根据 Issue 内容生成。
描述
Description
The Expo - Create EAS config file command currently runs:
This requires the eas executable to be available on the system PATH. Without a global EAS CLI installation, configuration can fail.
The command also declares a nodeModulesRoot field that is never initialized. Passing it to CommandExecutor.execute() does not help resolve the EAS CLI, because that execution path does not use it to locate executables.
Proposed changes
Remove the unused, uninitialized nodeModulesRoot field.
Run npx eas-cli build:configure --platform all from the project root.
Update the initialization guidance to use npx eas-cli init.
Update the related tests and documentation.
Expected behavior
EAS configuration should not require a globally installed eas executable. The command should use npx to resolve EAS CLI, preserve existing configuration when eas.json exists, and continue propagating execution errors.
- 主要语言
- TypeScript
- 星标
- 2.7k
- 派生
- 303
- 平均合并
- 20 小时 33 分钟
- 30 天内合并 PR
- 33
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/vscode-react-native 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
microsoft/vscode-react-native#3055 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 67/100
microsoft/vscode-react-native#3053 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
microsoft/vscode-react-native#3052 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 67/100
microsoft/vscode-react-native#3036 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 83/100
microsoft/vscode-react-native#3033 ·
维护者通常 1 天内回复
查看 microsoft/vscode-react-native 的全部 Issue
相似的 Issue
-
area: infrastructure bug priority: low
难度 2/5 1-3 小时 新手友好度 88/100
snapotter-hq/SnapOtter#4575 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
documentation server-memory v2
难度 2/5 1-3 小时 新手友好度 68/100
modelcontextprotocol/servers#5457 ·
维护者通常 1 天内回复
-
comp: ssr comp: zones type: feature version: current (v17+)
难度 2/5 1-3 小时 新手友好度 84/100
angular/angularfire#3836 ·
维护者通常 3 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复