IBM Support

PI92986: USERS ARE UNABLE TO NPM INSTALL A PACKAGE FROM A GIT REPO ON Z/OS.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Users are unable to npm install a package from a git repo on
    z/OS.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of the IBM SDK for Node.js -       *
    *                 z/OS, V6.0                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Unhandled Rejection Error on "npm       *
    *                      install" from a git repo on z/OS        *
    ****************************************************************
    * RECOMMENDATION: Apply provided service                       *
    ****************************************************************
    "npm install" from a git repository fails with an Unhandled
    Rejection Error on execution of a git checkout command. npm
    spawns a child process to run Git and all communication between
    the parent and child are done via sockets. Git is an ASCII
    application and produces ASCII output; UNIX System Services
    (USS) does not support auto-conversion for content passed
    through sockets. This APAR adds support in the Node runtime to
    convert the content appropriately to enable npm to install a
    package from a git repository.
    
    The following is an example stack trace of the error:
    
     Unhandled rejection Error: Command failed: git checkout
    <garbled characters>
         at ChildProcess.exithandler (child_process.js:198:12)
         at emitTwo (events.js:106:13)
         at ChildProcess.emit (events.js:191:7)
         at maybeClose (internal/child_process.js:902:16)
         at Process.ChildProcess._handle.onexit
    (internal/child_process.js:226:5)
    

Problem conclusion

  • IBM is releasing an update to IBM Node SDK for Node.js - z/OS
    to enable users to install packages with npm and git.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI92986

  • Reported component name

    SDK FOR NODE.JS

  • Reported component ID

    5655SDK00

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-01-26

  • Closed date

    2018-01-31

  • Last modified date

    2018-03-01

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

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

    UI53583

Modules/Macros

  • CNJPHPAX CNJSNPAX
    

Fix information

  • Fixed component name

    SDK FOR NODE.JS

  • Fixed component ID

    5655SDK00

Applicable component levels

  • R600 PSY UI53583

       UP18/02/06 P F802

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"600","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSWLKB","label":"IBM SDK for Node.js"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"600","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2021