[Pkg-javascript-devel] Bug#1025666: Bug#1025666: Installing npm on 11.5 pulls x11
    Yadd 
    yadd at debian.org
       
    Wed Dec  7 13:30:50 GMT 2022
    
    
  
On 07/12/2022 09:30, Pierre-Gildas MILLON wrote:
> Package: npm
> Version: 7.5.2+ds-2
> 
> I'm building a python3.10-slim docker image with pm2 for development 
> purposes. When running apt install npm (to install pm2), I end up with 
> x11 installed:
> 
> # apt install npm
> [...]
> 0 upgraded, 393 newly installed, 0 to remove and 4 not upgraded.
> Need to get 132 MB of archives.
> After this operation, 512 MB of additional disk space will be used.
> 
> This seems way to much just for npm running on a headless environment.
> 
> Regards,
> 
> pgmillon
Hi,
npm has a lot of features and depends on nodejs and its eco-system. 
Installing npm from npmjs.org + nodejs requires the same space.
When building your docker image, you can safely remove /usr/share/nodejs 
and nodejs packages after using npm.
Cheers,
Yadd
    
    
More information about the Pkg-javascript-devel
mailing list