IBM Support

PI56280: AN ERROR OCCURS WHEN EXECUTING"CORDOVA PREPARE" IN A MOBILEFIRSTCORDOVA PROJECT WHEN USING CORDOVA 5.4.1.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When calling cordova prepare in a MobileFirst Cordova project
    with Cordova 5.4.1, a type error occurs. This is due to the
    removal of the platform detection method in Cordova 5.4.1. As a
    result, the MobileFirst plugin for Cordova errors as it attempts
    to use the metioned method.
    

Local fix

  • Use "mfp cordova prepare" instead of "cordova prepare".
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Those using MobileFirst Platform CLI for Cordova are         *
    * affected.                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When calling "cordova prepare" in a MobileFirst Cordova      *
    * project with Cordova 5.4.1, a type error occurs. This is due *
    * to the removal of the platform detection method in Cordova   *
    * 5.4.1. As a result, the MobileFirst plugin for Cordova       *
    * errors as it attempts to use the mentioned method.           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • A method that is independent of Cordova has been added to
    determine which platforms are installed in a project.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI56280

  • Reported component name

    MFPF/WORKLIGHT

  • Reported component ID

    5725I4301

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-01-28

  • Closed date

    2016-02-04

  • Last modified date

    2016-02-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    MFPF/WORKLIGHT

  • Fixed component ID

    5725I4301

Applicable component levels

  • R710 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 October 2021