Click here to Skip to main content
15,887,175 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: CCC 2023-05-15 Pin
OriginalGriff15-May-23 3:16
mveOriginalGriff15-May-23 3:16 
GeneralRe: CCC 2023-05-15 Pin
ChandraRam15-May-23 5:16
ChandraRam15-May-23 5:16 
GeneralRe: CCC 2023-05-15 - Solution Pin
FreedMalloc15-May-23 6:03
FreedMalloc15-May-23 6:03 
GeneralRe: CCC 2023-05-15 - Solution Pin
pkfox15-May-23 21:48
professionalpkfox15-May-23 21:48 
GeneralOi! ChandraRam! Pin
OriginalGriff14-May-23 23:01
mveOriginalGriff14-May-23 23:01 
GeneralArrgghhhh! Elephanting Angular, npm and the great vanishing diskspace issue Pin
Pete O'Hanlon14-May-23 21:11
mvePete O'Hanlon14-May-23 21:11 
GeneralRe: Arrgghhhh! Elephanting Angular, npm and the great vanishing diskspace issue PinPopular
GuyThiebaut14-May-23 21:33
professionalGuyThiebaut14-May-23 21:33 
AnswerRe: Arrgghhhh! Elephanting Angular, npm and the great vanishing diskspace issue Pin
Jeremy Falcon15-May-23 4:07
professionalJeremy Falcon15-May-23 4:07 
Pete O'Hanlon wrote:
So, I do a lot of Angular development.
My condolences. Rose | [Rose]
Pete O'Hanlon wrote:
there's no way to tell something like Angular to do this with every package
As much as I dislike Angular, can't blame it for this issue. This would be an npm thing. IMO localized packages are better and less error prone. That being said, the first real issue here is Angular is bloatware. Smile | :) Also, make sure the devs working on it don't add a new package for every last thing in the world that could easily be done with vanilla JS.

Buuutttt, since you passed the point of no return it seems, npm supports the ability to always use a global folder no matter what.

https://docs.npmjs.com/cli/v9/using-npm/config#global

Just stick that bad boy in a npmrc file in your home directory (~/.npmrc) and nuke the old node_modules folders for your projects and try again. Keep in mind, you'll still probably have a local node_modules folder because packages use it for other things (not sure, never tried) but if you do it should be a lot smaller at least.
Jeremy Falcon

GeneralRe: Arrgghhhh! Elephanting Angular, npm and the great vanishing diskspace issue Pin
jschell15-May-23 5:04
jschell15-May-23 5:04 
GeneralRe: Arrgghhhh! Elephanting Angular, npm and the great vanishing diskspace issue Pin
Pete O'Hanlon15-May-23 5:13
mvePete O'Hanlon15-May-23 5:13 
GeneralRe: Arrgghhhh! Elephanting Angular, npm and the great vanishing diskspace issue Pin
Jeremy Falcon15-May-23 5:46
professionalJeremy Falcon15-May-23 5:46 
AnswerRe: Arrgghhhh! Elephanting Angular, npm and the great vanishing diskspace issue Pin
Jeremy Falcon15-May-23 4:17
professionalJeremy Falcon15-May-23 4:17 
GeneralRe: Arrgghhhh! Elephanting Angular, npm and the great vanishing diskspace issue Pin
Chris Maunder15-May-23 4:56
cofounderChris Maunder15-May-23 4:56 
GeneralRe: Arrgghhhh! Elephanting Angular, npm and the great vanishing diskspace issue Pin
Gary R. Wheeler15-May-23 13:26
Gary R. Wheeler15-May-23 13:26 
GeneralRe: Arrgghhhh! Elephanting Angular, npm and the great vanishing diskspace issue Pin
jschell15-May-23 5:07
jschell15-May-23 5:07 
GeneralRe: Arrgghhhh! Elephanting Angular, npm and the great vanishing diskspace issue Pin
Pete O'Hanlon15-May-23 6:02
mvePete O'Hanlon15-May-23 6:02 
GeneralRe: Arrgghhhh! Elephanting Angular, npm and the great vanishing diskspace issue Pin
Single Step Debugger15-May-23 5:08
Single Step Debugger15-May-23 5:08 
GeneralWordle 695 Pin
Shane010314-May-23 18:12
Shane010314-May-23 18:12 
GeneralRe: Wordle 695 Pin
OriginalGriff14-May-23 18:49
mveOriginalGriff14-May-23 18:49 
GeneralRe: Wordle 695 Pin
Cp-Coder15-May-23 1:36
Cp-Coder15-May-23 1:36 
GeneralRe: Wordle 695 Pin
Amarnath S14-May-23 19:47
professionalAmarnath S14-May-23 19:47 
GeneralRe: Wordle 695 Pin
den2k8814-May-23 20:44
professionalden2k8814-May-23 20:44 
GeneralRe: Wordle 695 - 2 4 me Pin
pkfox14-May-23 21:10
professionalpkfox14-May-23 21:10 
GeneralRe: Wordle 695 Pin
StarNamer@work14-May-23 22:03
professionalStarNamer@work14-May-23 22:03 
GeneralRe: Wordle 695 Pin
ChandraRam14-May-23 22:47
ChandraRam14-May-23 22:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.