Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIX: npm always throws "hangup" #54590

Closed
flynn1973 opened this issue Aug 27, 2024 · 7 comments
Closed

AIX: npm always throws "hangup" #54590

flynn1973 opened this issue Aug 27, 2024 · 7 comments
Labels
aix Issues and PRs related to the AIX platform. npm Issues and PRs related to the npm client dependency or the npm registry.

Comments

@flynn1973
Copy link

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

@flynn1973
Copy link
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 >

@avivkeller
Copy link
Member

avivkeller commented Aug 27, 2024

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

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

@avivkeller avivkeller added the npm Issues and PRs related to the npm client dependency or the npm registry. label Aug 27, 2024
@agracia-foticos
Copy link

same issue ussing nuxt 3
image
nuxt/nuxt#28718

@targos
Copy link
Member

targos commented Aug 27, 2024

@nodejs/platform-aix

@targos targos added the aix Issues and PRs related to the AIX platform. label Aug 27, 2024
@avivkeller
Copy link
Member

avivkeller commented Aug 27, 2024

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.

@agracia-foticos
Copy link

If i use bun or yarn also fails

@flynn1973
Copy link
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
Labels
aix Issues and PRs related to the AIX platform. npm Issues and PRs related to the npm client dependency or the npm registry.
Projects
None yet
Development

No branches or pull requests

4 participants