cancel
Showing results for 
Search instead for 
Did you mean: 

I am getting following errors while sap hat setup in windows

Former Member
0 Kudos

hat setup error in while setup in window

ERROR:

The build script exited unexpectedly!

No config file specified. Searching for config.json in the current directory. Config file found at D:\Khurshid\SAP_HAT_local-1.28.2\WebIdeCompanion\companionapp/config.json. platforms: android@6.2.3 7.0.1 cordova version: 7.0.1 Creating WebIdeCompanion project. Warning: --copy-from option is being deprecated. Consider using --template instead. Creating a new cordova project. D:\Khurshid\SAP_HAT_local-1.28.2\WebIdeCompanion\companionapp\CompanionApp D:\Khurshid\SAP_HAT_local-1.28.2\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: com.sap.ide.companion 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. No config file specified. Searching for config.json in the current directory. Config file found at D:\Khurshid\SAP_HAT_local-1.28.2\WebIdeCompanion\companionapp/config.json. platforms: android@6.2.3 7.0.1 cordova version: 7.0.1 Creating WebIdeCompanion project. Warning: --copy-from option is being deprecated. Consider using --template instead. Creating a new cordova project. D:\Khurshid\SAP_HAT_local-1.28.2\WebIdeCompanion\companionapp\CompanionApp D:\Khurshid\SAP_HAT_local-1.28.2\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: com.sap.ide.companion 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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Kevin_SAP
Advisor
Advisor
0 Kudos

You may want to consider testing with HAT 1.28.4. What version of the SDK and Cordova are you using?

-Kevin

Former Member
0 Kudos

After updating latest version of smp mobile platform it is working fine.