@w1res wrote:
I decided to give ionic a try today, and I'm running into issues when installing native extensions.
I'm still new to ionic/javascript, so I will outline the steps I'm taking:
npm install -g cordova ionic
ionic start TestProject blank
cd TestProject
ionic cordova plugin add cordova-plugin-android-permissions
When prompted thatThe plugin @ionic/cli-plugin-cordova is not installed. Would you like to install it and continue? (Y/n)I sayY.Then the error finally happens when I try to install the npm module for the cordova plugin:
npm install --save @ionic-native/android-permissionsI get a
UNMET PEER DEPENDENCYerror:
+-- @ionic-native/android-permissions@3.14.0
-- UNMET PEER DEPENDENCY @ionic/app-scripts@2.0.0It seems that the native plugins aren't compatible with app-scripts version 2+. This happens with any of the other native cordova plugins I try to install, for example the BLE plugin as well.
I've tried to install an older version of the app-scripts (i.e., 1.x), but then when npm installs it, I get a red
INVALIDnext to the app-scripts name after installation.Does anyone know what I should do?
Posts: 1
Participants: 1