ionic-team / ionic-team/ionic-cli

bug: `ionic deploy configure` doesn't recognize `cordova-plugin-ionic` package as a dev dependency!

Đang mở
#4,719 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
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 installed `cordova-plugin-ionic` package as a *dev dependency* in my project, then when I run `ionic deploy configure` command, it doesn't recognize it!

**Steps to Reproduce:**
1. Install `cordova-plugin-ionic` manually as a *dev dependency* by running `npm install cordova-plugin-ionic --save-dev` command.
3. Run `ionic deploy configure`.

**Output:**
```
[ERROR] Deploy (cordova-plugin-ionic) not yet installed.

Please run ionic deploy add
```

**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
```

**Other Information:**
If I run `ionic deploy add` command, it tries to reinstall `cordova-plugin-ionic` package, but because it already exists in the dev dependencies list in my `package.json` file, it remains there... So the problem still persists!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.