top | item 8969003

(no title)

mcmillion | 11 years ago

NPM is only awesome until you need to do something with it on Windows.

discuss

order

u84six|11 years ago

What kind of problems are you having with it? I'm using npm on Windows and it's working out great! I'm actually using it as my build/task runner rather than using bloated grunt or gulp. It's easy to configure and read. I run my linter, unit test, jscs, and bundler all configured in package.json.

I also install git bash and conemu to have bash on Windows which makes things much better. I don't use windows console.

nawitus|11 years ago

My experience is that Npm "kinda works" on Windows. There are mysterious race-conditions and annoying bugs. And I'm not even talking about npm being technically completely incompatible with Windows due to the 256 character path limitation.

cozuya|11 years ago

I had a global environment variable conflict because something else was named "node.exe"... =/

britknight|11 years ago

It's not just npm. A while back I had to set up a Rails dev environment for a client who used Windows. shudder.

pjmlp|11 years ago

Never had any problem with it when we did a Cordova based application for a customer of ours.

kybernetikos|11 years ago

There are quite a few packages in npm that require native compilation of some part of their system during install. These usually fail horribly on windows without spending a lot of time tweaking your system in ways you probably don't want to. This is in sad contrast to how well many of the other libraries just work.

I would have thought it'd be possible to emscripten compile something like tinyC, and make a C compiler you could naturally fit into the node ecosystem to build native libraries.