ionic-team / ionic-team/ionic-cli
bug: `ionic deploy configure` doesn't recognize my custom 'Android' native project's path!
- Ngôn ngữ chính
- TypeScript
- Star
- 2k
- Fork
- 682
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**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
```
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- node.js, typescript
- Lĩnh vực
- cli, mobile
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 38/100