Skip to Content
0

I am getting following errors while sap hat setup in windows

Feb 09 at 07:37 AM

45

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Kevin Bates
Feb 27 at 11:39 PM
0

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

-Kevin

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0