karma-runner / karma-coffee-preprocessor

A Karma plugin. Compile coffee script on the fly.
MIT License
53 stars 34 forks source link

Version 0.2.0 breaks Karma 0.9 #21

Closed voxpelli closed 10 years ago

voxpelli commented 10 years ago

I'm maintaining a project that is still relying on Karma 0.9 – many of its modules is still strictly relying on 0.9 or is at least not compatible with Karma 0.11 that this module now requires as of b0992606925e200d2bde1ff01d46d17cf3a05c6f.

While it of course isn't an issue in itself that a new version of this modules requires a newer version of Karma it is an issue that the latest version of Karma 0.9 doesn't specify any specific version of this module causing Karma 0.9 to depend on 0.2.0 of this module that in turns requires karma to be 0.11 (I guess it's due to https://github.com/karma-runner/karma/blob/8c38782c015f5d6e9d891771ff07f83423b22377/package.json#L107)

I'm not sure where the error is to be found here – if it is Karma 0.9 that should have specified its version better, if its this module that should have done something in another way or if its my project that should have specified some more elaborate dependencies. Anyhow – since it's the release of 0.2.0 that caused this I thought this would be a good place for a first report of it.

Below is the full error from npm when trying a fresh install of my project:

npm ERR! peerinvalid The package karma does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer grunt-karma@0.5.4 wants karma@~0.9.4 || ~0.10
npm ERR! peerinvalid Peer karma-ng-html2js-preprocessor@0.0.4 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-ng-scenario@0.0.2 wants karma@~0.9
npm ERR! peerinvalid Peer karma-junit-reporter@0.0.2 wants karma@~0.9
npm ERR! peerinvalid Peer karma-coverage@0.1.5 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-chrome-launcher@0.1.2 wants karma@>=0.9.3
npm ERR! peerinvalid Peer karma-firefox-launcher@0.1.3 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-html2js-preprocessor@0.1.0 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-jasmine@0.1.5 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-requirejs@0.2.1 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-script-launcher@0.1.0 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-coffee-preprocessor@0.2.0 wants karma@>=0.11.14
npm ERR! peerinvalid Peer karma-phantomjs-launcher@0.1.2 wants karma@>=0.9
voxpelli commented 10 years ago

This is the same issue as karma-runner/karma#940

voxpelli commented 10 years ago

Solution is discussed in above issue, I'm closing this one.