SAP Knowledge Base Article - Preview

2036005 - Failed to install 'com.sap.mp.cordova.plugins.logon' errors while building SMP 3.0 SP03 Kapsel applications for iOS or Android

Symptom

After upgrading from SMP SDK 3.0 to 3.0.3, the following error message may occur while adding Kapsel Logon plugin into iOS or Android application:

MacMachine:logonDemo MyMacUser$ cordova -d plugin add ~/SMP30Dev/SMP303_SDK/KapselSDK/plugins/logon
Calling plugman.fetch on plugin "/Users/MyMacUser/SMP30Dev/SMP303_SDK/KapselSDK/plugins/logon"
Copying plugin "/Users/MyMacUser/SMP30Dev/SMP303_SDK/KapselSDK/plugins/logon" => "/Users/MyMacUser/Documents/Kapsel_Projects/logonDemo/plugins/com.sap.mp.cordova.plugins.logon"
Calling plugman.install on plugin "/Users/MyMacUser/Documents/Kapsel_Projects/logonDemo/plugins/com.sap.mp.cordova.plugins.logon" for platform "ios" with options "{"cli_variables":{}}"
Installing "com.sap.mp.cordova.plugins.logon" for ios
Dependencies detected, iterating through them...
Dependent plugin "com.sap.mp.cordova.plugins.corelibs" not fetched, retrieving then installing.
Installing "com.sap.mp.cordova.plugins.logon" for ios
Dependencies detected, iterating through them...
No fetch metadata found for plugin com.sap.mp.cordova.plugins.logon. checking for corelibs in /Users/MyMacUser/SMP30Dev/SMP303_SDK/KapselSDK/plugins
Dependent plugin "com.sap.mp.cordova.plugins.corelibs" not fetched, retrieving then installing.
Fetching plugin "corelibs" via plugin registry
Failed to install 'com.sap.mp.cordova.plugins.logon':Error: Failed to fetch package information for corelibs
    at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/registry/registry.js:32:20
    at Request.cb [as _callback] (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/registry/registry.js:251:9)
    at self.callback (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/request/index.js:148:22)
    at Request.EventEmitter.emit (events.js:117:20)
    at ClientRequest.self.clientErrorHandler (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/request/index.js:257:10)
    at ClientRequest.EventEmitter.emit (events.js:95:17)
    at Socket.socketErrorListener (http.js:1547:9)
    at Socket.EventEmitter.emit (events.js:95:17)
    at net.js:833:16
    at process._tickCallback (node.js:419:13)

The error may also happen to other modules below:

Failed to install 'com.sap.mp.cordova.plugins.logon':Error: Failed to fetch package information for inappbrowser

Failed to install 'com.sap.mp.cordova.plugins.logon':Error: Failed to fetch package information for authproxy

Sometimes (not always) the error "Plugin com.sap.mp.cordova.plugins.logon is not in git repository" also appears.

Also, the above referred error messages may happen by both using AppBuilder and from outside it (directly Cordova line-command) to build iOS or Android Kapsel application.


Read more...

Environment

  • SAP Mobile Platform SDK 3.0.3 for Windows or Mac
  • Windows x64 or Mac OS 10.9.x
  • Apache Cordova 3.4.0-0.1.3 or above
  • AppBuilder 1.0

Product

SAP Mobile Platform SDK 3.0

Keywords

KBA , MOB-SDK , SAP Mobile SDK , MOB-SDK-KAP , Kapsel: Hybrid Container , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.