Symptom
While trying to add the logon plugin to a new empty Kapsel project using the proposed command line we got the following error:
C:\Users\sapbasis\Desktop\Cordova Projekte\Testprojekt>cordova -d pluginadd C:\SAP\MobileSDK3\KapselSDK\plugins\logon
Calling plugman.fetch on plugin
"C:\SAP\MobileSDK3\KapselSDK\plugins\logon"
Fetching plugin from "C:\SAP\MobileSDK3\KapselSDK\plugins\logon"...
Fetch is reading plugin.xml from location
"C:\SAP\MobileSDK3\KapselSDK\plugins\logon\plugin.xml"...
Copying from location "C:\SAP\MobileSDK3\KapselSDK\plugins\logon" to location "C:\Users\sapbasis\Desktop\Cordova Projekte\Testprojekt\plugins\com.sap.mp.cordova.plugins.logon"
Calling plugman.install on plugin "C:\Users\sapbasis\Desktop\Cordova Projekte\Testprojekt\plugins\com.sap.mp.cordova.plugins.logon" for platform "android" with options "{"www_dir":"C:\\Users\\sapbasis\\Desktop\\Cordova Projekte\\Testprojekt\\platforms\\android\\.staging\\www","cli_variables":{} }"
Starting installation of "com.sap.mp.cordova.plugins.logon" for android
Dependencies detected, iterating through them...
Error: Error trying to locate git repository for plugin. at C:\Users\sapbasis\AppData\Roaming\npm\node_modules\cordova\node_modules\plugman\src\install.js:278:57
at ChildProcess.exithandler (child_process.js:641:7)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Socket.<anonymous> (child_process.js:948:11)
at Socket.EventEmitter.emit (events.js:95:17)
at Pipe.close (net.js:466:12)
See also the screenshot of the error message on a Mac:
Read more...
Environment
- SAP Mobile Platform - SMP 3.0
- SAP Mobile Platform - SMP 3.0 SP01
Product
Keywords
KBA , MOB-SDK , SAP Mobile SDK , 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.