ข้ามไปที่เนื้อหาหลัก

How To Fix Error cordova_not_available ionic3

Error  :  cordova_not_available

Recheck  platform   on File  package.json


"cordova": {
"plugins": {
"phonegap-plugin-barcodescanner": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-statusbar": {},
"ionic-plugin-keyboard": {},
"cordova-plugin-console": {},
"cordova-plugin-device": {},
"cordova-plugin-whitelist": {}
},
"platforms": [
"android"
]
}

Fix  Add  
platform    
The platform command adds a new platform for your application. Run ionic cordova platform add $platform to add a specific platform, where $platform can be either ios or android.

Refer :  
https://ionicframework.com/docs/cli/platform/ 


ความคิดเห็น