SAP Knowledge Base Article - Preview

1944628 - SAP Mobile Platform 3.0 - SMP3 Kapsel setup - Error: Error trying to locate git repository for plugin when adding logon plugin


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
Fetching plugin from "C:\SAP\MobileSDK3\KapselSDK\plugins\logon"...
Fetch is reading plugin.xml from location
Copying from location "C:\SAP\MobileSDK3\KapselSDK\plugins\logon" to location "C:\Users\sapbasis\Desktop\Cordova Projekte\Testprojekt\plugins\"
Calling plugman.install on plugin "C:\Users\sapbasis\Desktop\Cordova Projekte\Testprojekt\plugins\" for platform "android" with options "{"www_dir":"C:\\Users\\sapbasis\\Desktop\\Cordova Projekte\\Testprojekt\\platforms\\android\\.staging\\www","cli_variables":{} }"
Starting installation of "" 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:

 Fehler beim Login Plugin.jpg



  • SAP Mobile Platform - SMP 3.0
  • SAP Mobile Platform - SMP 3.0 SP01


SAP Mobile Platform 3.0


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.