NativeScript / NativeScript/nativescript-cli

ns clean - sometimes doesn't on Android

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

还没有人认领这个 Issue。

bug
主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

Environment

  • CLI: 7.0.x

Describe the bug
If Gradle(?) is still running in the background (or perhaps some other task) the platforms directory can be left in a state where you are now broken.

To Reproduce
Probably do something to cause gradle to fail after gradle works (so a gradle process is running in the background...)

Expected behavior
Clean cleans the folder, or WARNS that the clean was un-successful

Idea for Solution
We need to see if any files are left in the folder after a clean command, if any are left report it failed.

贡献指南

打开贡献指南

从这里开始

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

调研方向

先从 CLI 的 clean 命令和 Android platforms 目录开始,然后在 Gradle 进程运行时复现该故障。当 clean 删除目录内容,或明确报告清理未成功时,即表示完成。

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

评估

技术栈
android, javascript
领域
cli, mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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