NativeScript / NativeScript/nativescript-cli

ns clean - sometimes doesn't on Android

Open
#5,431 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CLI's clean command and the Android platforms directory, then reproduce the failure while a Gradle process is running. Done means a clean removes the directory contents or clearly reports that cleanup was unsuccessful.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
cli, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.