ionic-team / ionic-team/ionic-cli

BUG: (Ionic5 width cordova)build result: Could not find cordova.js script tag. Plugin loading may fail.

Đang mở
#4,365 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:**

I created an project width "@ionic/cli " which use "ionic start XX --type=angular --cordova", but when build android , it console that "Could not find cordova.js script tag. Plugin loading may fail", and some cordova plugins not worked, also on IOS.

**Steps to Reproduce:**

```
1: npm i @ionic/cli@latest -g
2: ionic start demo --type=angular --cordova
3: ionic cordova plugin add ....
4: ionic cordova platform add ios/android
5: ionic cordova build android/ios

```

**Output:**

**My `ionic info`:**

```
Ionic:

Ionic CLI : 6.3.0 (C:\Users\admin\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/angular 5.0.6
@angular-devkit/build-angular : 0.803.25
@angular-devkit/schematics : 8.3.25
@angular/cli : 8.3.25
@ionic/angular-toolkit : 2.2.0

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 19 other plugins)

Utility:

cordova-res (update available: 0.11.0) : 0.9.0
native-run : 0.3.0

System:

NodeJS : v12.15.0 (D:\Softs\Nodejs\node.exe)
npm : 6.13.4
OS : Windows 10
```

**Other Information:**

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.