ionic-team / ionic-team/ionic-cli
bug: `ionic deploy configure` doesn't recognize my custom 'Android' native project's path!
- Linguagem predominante
- TypeScript
- Estrelas
- 2k
- Forks
- 682
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
**Description:**
If I already have changed my default **Android** native project's path in `capacitor.config.json` file, when I run `ionic deploy configure` command, it doesn't recognize my Android project!
**Steps to Reproduce:**
1. Change the default **Android** native project's path in `capacitor.config.json` file to something else such as `dist/android`.
2. Run `npx cap add android`.
3. Run `ionic deploy configure`.
**Output:**
```
[WARN] No Capacitor Android project found
You will need to rerun ionic deploy configure if you add it later.
```
**My `ionic info`:**
```
Ionic:
Ionic CLI : 6.16.2 (C:\Users\ponte\AppData\Roaming\npm\node_modules\@ionic\cli)
Capacitor:
Capacitor CLI : 3.0.0
@capacitor/android : 3.0.0
@capacitor/core : 3.0.0
@capacitor/ios : 3.0.0
Utility:
cordova-res : 0.15.3
native-run (update available: 1.4.0) : 1.3.1
System:
NodeJS : v14.15.1 (C:\Program Files\nodejs\node.exe)
npm : 6.14.8
OS : Windows 10
```
Guia de contribuição
Direção de pesquisa
Start with the implementation of `ionic deploy configure` and trace how it locates the Capacitor Android project. Reproduce the issue with `capacitor.config.json` setting the Android path to `dist/android`, then verify that the command recognizes that configured path instead of reporting no project found.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- node.js, typescript
- Domínio
- cli, mobile
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 38/100