Reply To: Error Again

Back to course
#14438

Wiji Hatmoko
Participant

C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp>ionic cordova plugin add [email protected] –variable APP_ID=”123456789″ –variable APP_NAME=”myApplication”

> cordova plugin add [email protected] –variable APP_ID=123456789 –variable APP_NAME=myApplication –save

Installing “cordova-plugin-facebook4” for android

Android Studio project detected

Error during processing of action! Attempting to revert…

Failed to install ‘cordova-plugin-facebook4’: CordovaError: Uh oh!

“C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\app\src\main\res\values\facebookconnect.xml” already exists!

at copyNewFile (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\lib\pluginHandlers.js:261:45)

at install (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\lib\pluginHandlers.js:51:17)

at ActionStack.process (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\cordova-common\src\ActionStack.js:56:25)

at PluginManager.doOperation (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\cordova-common\src\PluginManager.js:114:20)

at PluginManager.addPlugin (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\cordova-common\src\PluginManager.js:144:17)

at C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\Api.js:247:74

at _fulfilled (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\q\q.js:854:54)

at self.promiseDispatch.done (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\q\q.js:883:30)

at Promise.promise.promiseDispatch (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\q\q.js:816:13)

(node:15680) UnhandledPromiseRejectionWarning: CordovaError: Uh oh!

“C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\app\src\main\res\values\facebookconnect.xml” already exists!

at copyNewFile (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\lib\pluginHandlers.js:261:45)

at install (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\lib\pluginHandlers.js:51:17)

at ActionStack.process (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\cordova-common\src\ActionStack.js:56:25)

at PluginManager.doOperation (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\cordova-common\src\PluginManager.js:114:20)

at PluginManager.addPlugin (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\cordova-common\src\PluginManager.js:144:17)

at C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\Api.js:247:74

at _fulfilled (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\q\q.js:854:54)

at self.promiseDispatch.done (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\q\q.js:883:30)

at Promise.promise.promiseDispatch (C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\q\q.js:816:13)

at C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\q\q.js:570:49

(node:15680) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

(node:15680) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

at C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp\platforms\android\cordova\node_modules\q\q.js:570:49

 

C:\Users\Wiji Hatmoko\Documents\Ionic\ciptacendekiaapp>