Skip to content

Instantly share code, notes, and snippets.

@teerasej
Last active June 14, 2019 07:21
Show Gist options
  • Save teerasej/4d813ce2ba666cbf2bbe67cac9d5dc76 to your computer and use it in GitHub Desktop.
Save teerasej/4d813ce2ba666cbf2bbe67cac9d5dc76 to your computer and use it in GitHub Desktop.
วิธีถอยเวอร์ชั่นของ Cordova และ Ionic เพื่อแก้ปัญหาความเข้ากันไม่ได้ของ Plugin
npm uninstall -g cordova
npm install -g cordova@8.1.2

// สำหรับคนที่ใช้ Android
ionic cordova platform remove android
ionic cordova platform add android

// สำหรับคนที่ใช้ iOS
ionic cordova platform remove ios
ionic cordova platform add ios

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment