MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/node/comments/o9gorq/nodejs_humor/h3ctx2j/?context=3
r/node • u/yulistr • Jun 28 '21
79 comments sorted by
View all comments
Show parent comments
21
hours of learning throughout the years, tons of practice and yet am still vulnerable while installing npm packages
37 u/Koeke2560 Jun 28 '21 It's actually the one package manager I think is really straightforward.I have so much PTSD from fucking with python/pip/python3/pip3/conda/venv. With npm it's basically do I need the -g flag or not. 10 u/n1ru4l Jun 28 '21 exactly my feel everytime I use pip... no lockfiles?! 5 u/neckro23 Jun 28 '21 Not to give pip the benefit of the doubt (I feel the Python ecosystem is kinda a disaster) but doesn't pip freeze do exactly that? 5 u/mixini Jun 28 '21 pip freeze > requirements.txt is not great, because it doesn't manage relationships between dependencies. poetry kind of solves this, but it's not nearly as ubiquitous as npm or yarn. 3 u/n1ru4l Jun 29 '21 we kinda do that and bump dependencies with renovate - still this is kind of weird and cumbersome. in the beginning we did not do this and regulary had issues with breaking changes from dependency dependencies 😩
37
It's actually the one package manager I think is really straightforward.
I have so much PTSD from fucking with python/pip/python3/pip3/conda/venv. With npm it's basically do I need the -g flag or not.
10 u/n1ru4l Jun 28 '21 exactly my feel everytime I use pip... no lockfiles?! 5 u/neckro23 Jun 28 '21 Not to give pip the benefit of the doubt (I feel the Python ecosystem is kinda a disaster) but doesn't pip freeze do exactly that? 5 u/mixini Jun 28 '21 pip freeze > requirements.txt is not great, because it doesn't manage relationships between dependencies. poetry kind of solves this, but it's not nearly as ubiquitous as npm or yarn. 3 u/n1ru4l Jun 29 '21 we kinda do that and bump dependencies with renovate - still this is kind of weird and cumbersome. in the beginning we did not do this and regulary had issues with breaking changes from dependency dependencies 😩
10
exactly my feel everytime I use pip... no lockfiles?!
5 u/neckro23 Jun 28 '21 Not to give pip the benefit of the doubt (I feel the Python ecosystem is kinda a disaster) but doesn't pip freeze do exactly that? 5 u/mixini Jun 28 '21 pip freeze > requirements.txt is not great, because it doesn't manage relationships between dependencies. poetry kind of solves this, but it's not nearly as ubiquitous as npm or yarn. 3 u/n1ru4l Jun 29 '21 we kinda do that and bump dependencies with renovate - still this is kind of weird and cumbersome. in the beginning we did not do this and regulary had issues with breaking changes from dependency dependencies 😩
5
Not to give pip the benefit of the doubt (I feel the Python ecosystem is kinda a disaster) but doesn't pip freeze do exactly that?
pip freeze
5 u/mixini Jun 28 '21 pip freeze > requirements.txt is not great, because it doesn't manage relationships between dependencies. poetry kind of solves this, but it's not nearly as ubiquitous as npm or yarn. 3 u/n1ru4l Jun 29 '21 we kinda do that and bump dependencies with renovate - still this is kind of weird and cumbersome. in the beginning we did not do this and regulary had issues with breaking changes from dependency dependencies 😩
pip freeze > requirements.txt is not great, because it doesn't manage relationships between dependencies. poetry kind of solves this, but it's not nearly as ubiquitous as npm or yarn.
pip freeze > requirements.txt
poetry
3 u/n1ru4l Jun 29 '21 we kinda do that and bump dependencies with renovate - still this is kind of weird and cumbersome. in the beginning we did not do this and regulary had issues with breaking changes from dependency dependencies 😩
3
we kinda do that and bump dependencies with renovate - still this is kind of weird and cumbersome. in the beginning we did not do this and regulary had issues with breaking changes from dependency dependencies 😩
21
u/[deleted] Jun 28 '21
hours of learning throughout the years, tons of practice and yet am still vulnerable while installing npm packages