Skip to Content

SAP Hybrid Application Toolkit 1.29 - Error during setup

Hi gurus,

I'm installing hat 1.29 tool but I have this error during Build the companion app step:

cordova version 6.5.0

Any idea?

Thank you

Patrizia

step.png (30.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    Dec 22, 2017 at 02:37 PM

    Some of the error message is not visible in the screen shot above.

    I have had some versioning issues lately with the FileTransfer plugin and cordova-file-plugin in an unrelated cordova app.

    The file plugin requires a certain version of the android platform.

    For example the plugin.xml from it may say something like

    <engine name="cordova-android" version=">=6.3.0" />

    My advice would be to check which version of the android platform you are using with the following command.

    cordova platforms

    Then also look at the plugin.xml files for the file transfer and file plugins.
    It may be that one of them has not been installed.
    If that is a problem you could specify or manually add an older version of the plugin.

    //Version 5.0.0 of the file plugin requires 6.3.0 or newer.
    cordova -d plugin add cordova-plugin-file@4.3.3

    Regards,

    Dan van Leeuwen

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 20 at 09:45 AM

    Hi,

    This problem is due to latest cordova file plugin which is not compatible to your sap hat created project.

    I was also facing same problem. I resolve it with as below:

    1) Create a cordova project(cordova create appName).

    2) Add cordova file plugin = cordova plugin add cordova-plugin-file@4.3.2

    3) Copy cordova file plugin folder(cordova-plugin-file) from plugins in your cordova project.

    4) Now at run time when sap hat create cordova project and start adding plugin, before sap hat add cordova file plugin you paste file plugin (4.3.2).

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 22, 2017 at 02:39 PM

    Hi,

    Can you share complete screen shot?

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 22, 2017 at 11:13 PM

    Another suggestion is to clean the npm cache. Use the command npm cache clean on the CLI and try the installation again.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 26 at 10:18 AM

    yes ,with hat 1_29_7 version that error was resolved

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 26 at 10:18 AM

    Hi,

    with hat 1_29_7 version that error was resolved

    Add comment
    10|10000 characters needed characters exceeded