segmentio / myth

A CSS preprocessor that acts like a polyfill for future versions of the spec.
4.32k stars 131 forks source link

Bug with Windows. #29

Closed Stanislas-Poisson closed 10 years ago

Stanislas-Poisson commented 10 years ago

Hi. I try to install myth today like this:

But, i have some errors:

2458 error notarget No compatible version found: concat-stream@'visionmedia/node-concat-stream#0.0.1' 2458 error notarget Valid install targets: 2458 error notarget ["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.0.9","0.1.0","0.1.1","1.0.0","1.0.1","1.1.0","1.2.0","1.2.1","1.3.0","1.3.1"] 2458 error notarget 2458 error notarget This is most likely not a problem with npm itself. 2458 error notarget In most cases you or one of your dependencies are requesting 2458 error notarget a package version that doesn't exist. 2459 error System Windows_NT 6.0.6002 2460 error command "G:\ProgrammeInstalled\NodeJs\node.exe" "G:\ProgrammeInstalled\NodeJs\node_modules\npm\bin\npm-cli.js" "install" "-g" "myth" 2461 error cwd C:\Users\Altaïr 2462 error node -v v0.10.24 2463 error npm -v 1.3.21 2464 error code ETARGET 2465 verbose exit [ 1, true ]

Did you have any idea to fix this?

juliangruber commented 10 years ago

We've had this before and that fixed it:

I was dealing with the same error on windows 8.1 and node v0.10.24 too. Thanks to juliangruber's comment, everything is ok now. Just install git for windows (http://git-scm.com/download/win) and don't forget to add git in your path when the installer asked for it.

The problem is that npm supports a dependency syntax that doesn't work in all node installations by default. Ideally npm would bundle jsgit. @creationix