Skip to Content

Build Companion Error in SAP HAT Installation

Hi ,

I am installing SAP HAT.There is some error in Build the companion app stage.I have seen many blogs but couldn't find proper solution.Error details are provided below.

Please suggest me how can I proceed further.


The build script exited unexpectedly!

No config file specified. Searching for config.json in the current directory. Config file found at C:\SAP\SAP_HAT_local-1.29.1\WebIdeCompanion\companionapp/config.json. platforms: android@6.2.3 7.1.0 cordova version: 7.1.0 Creating WebIdeCompanion project. Warning: --copy-from option is being deprecated. Consider using --template instead. Creating a new cordova project. C:\SAP\SAP_HAT_local-1.29.1\WebIdeCompanion\companionapp\CompanionApp C:\SAP\SAP_HAT_local-1.29.1\WebIdeCompanion\companionapp Adding platforms... android@6.2.3 Using cordova-fetch for cordova-android@6.2.3 Adding android project... Creating Cordova project for the Android platform: Path: platforms\android Package: Name: WebIdeCompanion Activity: MainActivity Android target: android-25 Subproject Path: CordovaLib Android project created with cordova-android@6.2.3 Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project Installing "cordova-plugin-whitelist" for android This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in. Saved plugin info for "cordova-plugin-whitelist" to config.xml

--save flag or autosave detected

Saving android@~6.2.3 into config.xml file ... Adding CompanionApp plugins...

Error: Invalid Plugin! ..\plugins\toolbar needs a valid package.json cmd error The node process of the build script exited with code 1.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 09, 2018 at 08:00 AM

    Have you got solution?

    Add comment
    10|10000 characters needed characters exceeded