Skip to content

npm update broke node-addon-api tests on AIX #44548

@mhdawson

Description

@mhdawson

Version

v18.8.0

Platform

AIX

Subsystem

No response

What steps will reproduce the bug?

npm install pre-commit

How often does it reproduce? Is there a required condition?

100%

What is the expected behavior?

package is installed

What do you see instead?

npm ERR! code 127
npm ERR! path /home/iojs/build/workspace/node-test-node-addon-api-new/nodes/aix72-ppc64/node_modules/pre-commit
npm ERR! command failed
npm ERR! command sh -c -- node install.js
npm ERR! node install.js: --: not found

npm ERR! A complete log of this run can be found in:
npm ERR! /home/iojs/build/workspace/citgm-smoker/npm_cache/_logs/2022-09-06T21_20_27_438Z-debug-0.log
iojs@nodejs04:[/home/iojs/build/workspace/node-test-node-addon-api-new/nodes/aix72-ppc64]node-v18.8.0-aix-ppc64/bin/node node-v18.7.0-aix-ppc64/lib/node_modules/npm/bin/npm-cli.js install pre-commit

Additional information

This can out of looking at node-addon-api failures on AIX - like this - https://ci.nodejs.org/job/node-test-node-addon-api-new/nodes=aix72-ppc64/6348/console

pre-commit is one of the packages in the package.json for node-addon-api

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions