IBM Support

IV86833: NPM ERROR REMOVING DIRECTORIES

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: npm may report an error when trying to remove a
    directory
    2> npm ERR! EEXIST, rmdir
    '/tmp/npm-test-26804328/root/share/man'
    2> File exists: /tmp/npm-test-26804328/root/share/man
    2> Move it away, and try again..
    .
    Stack Trace: N/A
    .
    

Local fix

  • N/A
    

Problem summary

  • A problem was identified in the fs-vacuum module dependency of
    npm that was trapping an ENOTEMPTY error code from rmdir, but
    not an EEXIST one. rmdir is specified to be able to return
    either of these error code if the directory being removed is not
    empty.
    

Problem conclusion

  • The fs-vacuum module has been updated to correctly handle the
    EEXIST error code, and a revised npm version is shipping this
    fix.
    .
    This APAR will be fixed in the following IBM SDK for Node.js
    Releases:
       1.2.0.14
       1.1.1.3
       6.2.0.0
       4.4.5.0
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               http://www.ibm.com/developerworks/web/nodesdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV86833

  • Reported component name

    NODE.JS

  • Reported component ID

    AIMNDJS00

  • Reported release

    120

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-12

  • Closed date

    2016-07-12

  • Last modified date

    2016-07-12

  • 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

    NODE.JS

  • Fixed component ID

    AIMNDJS00

Applicable component levels

  • R120 PSY

       UP

  • R110 PSY

       UP

  • R600 PSY

       UP

  • R421 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSWLKB","label":"IBM SDK for Node.js"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 February 2022