Skip to content

AIX: npm always throws "hangup" #54590

Description

@flynn1973

Version

v22.7.0

Platform

AIX 7.3

Subsystem

npm

What steps will reproduce the bug?

root@nimvie: /root/.npm/_logs # npm -v
10.8.2
Hangup

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

always

What is the expected behavior? Why is that the expected behavior?

output of npm's version without hanging up

What do you see instead?

root@nimvie: /root/.npm/_logs # npm -v
10.8.2
Hangup

root shell also terminated

Additional information

root@nimvie: /root/.npm/_logs # cat 2024-08-27T10_29_07_721Z-debug-0.log
0 verbose cli /opt/node-v22.7.0-aix-ppc64/bin/node /opt/node-v22.7.0-aix-ppc64/bin/npm
1 info using npm@10.8.2
2 info using node@v22.7.0
3 silly config load:file:/opt/node-v22.7.0-aix-ppc64/lib/node_modules/npm/npmrc
4 silly config load:file:/root/.npmrc
5 silly config load:file:/opt/node-v22.7.0-aix-ppc64/etc/npmrc
6 verbose title npm install
7 verbose argv "install"
8 verbose logfile logs-max:10 dir:/root/.npm/_logs/2024-08-27T10_29_07_721Z-
9 verbose logfile /root/.npm/_logs/2024-08-27T10_29_07_721Z-debug-0.log
10 silly packumentCache heap:4345298944 maxSize:1086324736 maxEntrySize:543162368
11 silly logfile done cleaning log files
12 silly idealTree buildDeps
13 silly reify moves {}
14 silly audit report null
15 verbose cwd /root/.npm/_logs
16 verbose os AIX 7.3
17 verbose node v22.7.0
18 verbose npm v10.8.2
19 verbose exit 0
20 info ok

Activity

  1. flynn1973 commented on Aug 27, 2024

    @flynn1973
    Author

    "npm install" is also affected...seems to be a general problem

    root@nimvie: /root/.npm/_logs # npm install
    
    up to date, audited 1 package in 694ms
    
    found 0 vulnerabilities
    \Hangup
    tremch@nimvie:/home/tremch >
    
    
  2. avivkeller commented on Aug 27, 2024

    @avivkeller
    Member

    @nodejs/npm does this belong in npm/cli?

    FWIW I can't reproduce with my local node.js (running v22.7.0).

  3. added
    npmIssues and PRs related to the npm client dependency or the npm registry.
    on Aug 27, 2024
  4. agracia-foticos commented on Aug 27, 2024

    @agracia-foticos

    same issue ussing nuxt 3
    image
    nuxt/nuxt#28718

  5. targos commented on Aug 27, 2024

    @targos
    Member

    @nodejs/platform-aix

  6. added
    aixIssues and PRs related to the AIX platform.
    on Aug 27, 2024
  7. avivkeller commented on Aug 27, 2024

    @avivkeller
    Member

    same issue ussing nuxt 3

    This appears to be a separate issue, where your log is socket hang up and the npm log is hangup. They could be the same issue, but npm is logging something else.

  8. agracia-foticos commented on Aug 27, 2024

    @agracia-foticos

    If i use bun or yarn also fails

  9. flynn1973 commented on Aug 27, 2024

    @flynn1973
    Author

    seems to be more off a sudo "problem"...

    sudo-project/sudo#258

    i added the following to /etc/sudoers and the hangup is gone...

    Defaults !use_pty
    

    sorry for the nuisance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    aixIssues and PRs related to the AIX platform.npmIssues and PRs related to the npm client dependency or the npm registry.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions