Reply To: unable to start app

#18653

admin
Member
It looks like you have installed ionic version 4 I guess . Please make sure that you have installed ionic version 3  . run this command to check ionic version . ionic info   IF you are on windows system then please follow this solution :

Rename the node_modules folder in your ionic project from node_modules  to ” [email protected]@@@  ” and then :

In your ionic project folder replace the package.json file with the one given in below link

 https://bit.ly/2I2F732

and in command prompt or terminal run this command :

npm install

after that please follow :

First remove the android platform :

cordova platform rm android

Please also make sure you have installed  these plugins in your ionic setup :

cordova-plugin-camera 2.4.1 “Camera”

cordova-plugin-compat 1.2.0 “Compat”

cordova-plugin-console 1.0.5 “Console”

cordova-plugin-device 1.1.7 “Device”

cordova-plugin-facebook4 1.7.4 “Facebook Connect”

cordova-plugin-file 4.3.3 “File”

cordova-plugin-file-transfer 1.6.3 “File Transfer”

cordova-plugin-googleplus 5.3.2 “Google SignIn”

cordova-plugin-inappbrowser 1.7.2 “InAppBrowser”

cordova-plugin-inapppurchase 1.1.0 “In App Purchase”

cordova-plugin-splashscreen 4.1.0 “Splashscreen”

cordova-plugin-statusbar 2.4.2 “StatusBar”

cordova-plugin-whitelist 1.3.3 “Whitelist”

cordova-sqlite-storage 2.0.4 “Cordova sqlite storage plugin”

ionic-plugin-keyboard 2.2.1 “Keyboard”

Please check for the corodova plugins .

Install the cordova plugins with their versions mentioned above .

first remove plugin :

cordova plugin rm {cordova plugin name}

the add

cordova plugin add {cordova plugin name}@{version} 

 example :

cordova plugin add [email protected]

then re -add platform :

 

cordova platform add [email protected]

    If you are on MAC : 

IONIC INFO :

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.1

ionic (Ionic CLI) : 3.19.1

global packages:

cordova (Cordova CLI) : 8.0.0

local packages:

@ionic/app-scripts : 3.1.8

Cordova Platforms  : ios 4.5.4

Ionic Framework    : ionic-angular 3.9.2

System:

ios-deploy : 1.9.2

Node       : v6.11.4

npm        : 3.10.10

OS         : macOS High Sierra

Xcode      : Xcode 9.0 Build version 9A235

refer : https://stackoverflow.com/a/30317533

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro

Cordova plugins and their versions :

cordova-plugin-camera 4.0.2 “Camera”

cordova-plugin-console 1.1.0 “Console”

cordova-plugin-device 2.0.1 “Device”

cordova-plugin-facebook4 2.0.1 “Facebook Connect”

cordova-plugin-file 6.0.1 “File”

cordova-plugin-file-transfer 1.7.1 “File Transfer”

cordova-plugin-googleplus 5.3.0 “Google SignIn”

cordova-plugin-inappbrowser 2.0.2 “InAppBrowser”

cordova-plugin-inapppurchase 1.1.0 “In App Purchase”

cordova-plugin-ionic-keyboard 2.0.5 “cordova-plugin-ionic-keyboard”

cordova-plugin-ionic-webview 1.1.16 “cordova-plugin-ionic-webview”

cordova-plugin-splashscreen 5.0.2 “Splashscreen”

cordova-plugin-statusbar 2.4.2 “StatusBar”

cordova-plugin-whitelist 1.3.3 “Whitelist”

cordova-sqlite-storage 2.0.4 “Cordova sqlite storage plugin”

ionic-plugin-keyboard 2.2.1 “Keyboard”.

config.xml file and package.json files : https://bit.ly/2ABXQ34

You can take backup of your ionic setup rename the package.json file and node_modules folder .

then you have to add the given config.json file to your project and open terminal and run :

npm install

After that please check for the corodova plugins .

Install the cordova plugins with their versions mentioned above .

example :

cordova plugin add {cordova plugin name}@{version}

cordova plugin add [email protected]

Copyright VibeThemes.