DEV Community

Discussion on: What interesting things I can do with npm?

Collapse
 
theoutlander profile image
Nick Karnik

Often this is the case when starting out. You may run into permissions issues too. I still think it is better than pip or gem any day.

There’s a running joke that half the bandwidth on the internet is used by Netflix and the other half by npm. :D

Collapse
 
bgadrian profile image
Adrian B.G.

I am a senior JS developer, I can find out why the script failed, but the code is so badly written that it takes tens of minutes to do the research. Also using a framework like Meteor (or other layer on top of node) adds a new layer of problems.

I found many issues on Github related to most of the problems I had, the problem is that many of the NPM developers (including the NPM contributors) only care about their local system, they do not use error handling and other common mistakes.

Most errors are "undefined at ..." because ... defensive programming, asserting and other techniques are obscure.

Of course, I cannot complain because they are for free :))

Thread Thread
 
theoutlander profile image
Nick Karnik • Edited

Sorry, I misunderstood earlier. What you said makes sense. I’ve had package specific issues a handful of times only. Maybe, I’m too conservative installing random packages. However, I tend to look at the popularity and star count before considering most packages. Anything less than popular, I start by looking at the issue tracker and code in some cases.

Are you still using Meteor? Is it phasing out?

Thread Thread
 
bgadrian profile image
Adrian B.G.

Unfortunatelly the stars does not mean they work on windows πŸ˜€

I will not use Meteor ever again, is very proprietary, dependant on weird outdated packages and adds a thick layer of complexity that can be easily avoided.

It is very good for prototypes, proof of concepts and hackatons, after that it only gets worst.

Collapse
 
giorgosk profile image
Giorgos Kontopoulos πŸ‘€

Also node_modules folders probably uses half of the GB of a developers hard drive ;-)

Collapse
 
jochemstoel profile image
Jochem Stoel

Anything less than popular, I start by looking at the issue tracker and code in some cases.

I used to do that but over time found that sometimes you need something very specific, hasn't been downloaded in weeks and only starred by the author that is a perfect unopinionated and applauseworthy documented.

Also the more people involved the more they pollute it with opinions and distractions. I don't mean that applies universally but look at what we did to JavaScript.