Error occurred during the `generateExampleApp` stage.
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 78/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- javascript, react-native
调研方向
npx @react-native-community/cli 命令在 packages/create-react-native-library/src/exampleApp/generateExampleApp.ts 中构建,issue 链接的位置大约在第 144 行。阅读该命令是如何拼装的,以及示例应用是在哪里生成的。完成的标准是:命令使用 @react-native-community/cli@latest 或固定版本,并且在清空缓存的情况下运行生成器确认改动有效。版本选择请先与维护者确认他们的偏好。
由索引模型根据 Issue 内容生成。
描述
Description
When running generateExampleApp, an error may occur because npx @react-native-community/cli did not include @latest or specify a specific version, potentially using an older version's local cache.
We should change @react-native-community/cli to @react-native-community/cli@latest or specify a version:
https://github.com/callstack/react-native-builder-bob/blob/13309bc9da7d3d413d7cc171e230d36c32f3bbe3/packages/create-react-native-library/src/exampleApp/generateExampleApp.ts#L144
Packages
- create-react-native-library
- react-native-builder-bob
Selected options
✔ What do you want to name the npm package?
│ test
│
✔ How would you describe the package?
│ test
│
✔ What is the name of the package author?
│ -
│
✔ What is the email address of the package author?
│ -
│
✔ What is the profile URL for the package author?
│ -
│
✔ What is the repository URL for the package?
│ -
│
✔ What type of library do you want to develop?
│ Turbo module
│
✔ Which language do you want to use for native code?
│ Kotlin & Objective-C
│
✔ What type of example app do you want to create?
│ App with Community CLI
│
✔ Which tools do you want to configure?
│ ESLint with Prettier
Link to repro
N/A
Environment
Windows 10
- 主要语言
- JavaScript
- 星标
- 3.2k
- 派生
- 229
- 平均合并
- 2 天 15 小时
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
callstack/react-native-builder-bob 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 42/100
callstack/react-native-builder-bob#901 · 1 条评论 ·
-
bug
难度 3/5 1-2 天 新手友好度 42/100
callstack/react-native-builder-bob#896 · 2 条评论 ·
-
bug
难度 4/5 3-5 天 新手友好度 25/100
-
bug
难度 3/5 1-2 天 新手友好度 42/100
callstack/react-native-builder-bob#852 · 1 条评论 · 1 个 reaction ·
-
bug
难度 4/5 3-5 天 新手友好度 35/100
callstack/react-native-builder-bob#829 · 20 条评论 ·
查看 callstack/react-native-builder-bob 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 85/100
521xueweihan/HelloGitHub#4073 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
c1overzz/dsh-bili-scroll#79 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 1/5 1 小时以内 新手友好度 83/100
awesome-dsh-plugin/awesome-dsh-plugin#8715 ·
维护者通常 1 天内回复