cli icon indicating copy to clipboard operation
cli copied to clipboard

Npm install

Open R0N1n-dev opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

This issue exists in the latest npm version

  • [X] I am using the latest npm

Current Behavior

On trying to install packages using 'npm install', it just hangs and goes on forever. Along with the fact that the progress indicator is gone, It is just giving me a hard time. Since updating to 10.7.0, only had one successful install of 'npm install' in any of my folders

Screenshot from 2024-05-22 09-16-27

Expected Behavior

It install packages

Steps To Reproduce

  1. Run npm install in a nuxt 3 app

Environment

  • npm: 10.7.0
  • Node.js: 22.2.0
  • OS Name: POP OS
  • System Model Name: Lenovo Thinkpad
  • npm config:
; node bin location = /home/mozeik/.nvm/versions/node/v22.2.0/bin/node
; node version = v22.2.0
; npm local prefix = /home/mozeik
; npm version = 10.7.0
; cwd = /home/mozeik
; HOME = /home/mozeik

R0N1n-dev avatar May 22 '24 06:05 R0N1n-dev

@R0N1n-dev Could you please try with npm install --ddd to run install command with log level silly to get more information about the issue? Also you can try updating [email protected] which is latest.

milaninfy avatar May 22 '24 13:05 milaninfy

Is there any default better way of telling progress in 10.8

R0N1n-dev avatar May 27 '24 06:05 R0N1n-dev

@R0N1n-dev spinner is indicative of the progress, also you can use various log levels to see progress. You can follow the discussions on progress bar removal on this issue https://github.com/npm/cli/issues/7425 Let us know if you still are facing installation issue with logs to check further.

milaninfy avatar May 27 '24 19:05 milaninfy

Closing due to age. If this is still a problem please feel free to reopen this issue, or create a new issue w/ steps to reproduce.

milaninfy avatar Jun 05 '24 11:06 milaninfy

no more progress bar then? why? where is it documented?

voltuer avatar Jun 05 '24 13:06 voltuer

This is a problem for me as well - npm install --force just hangs indefinitely. v10.5 works fine (with node 21)

ZachSARAO avatar Jun 12 '24 06:06 ZachSARAO

we're microsoft, we can't handle complicate things like progress bars

voltuer avatar Jun 23 '24 04:06 voltuer