Closed timaschew closed 10 years ago
there's no component.json: https://github.com/techjacker/q/tree/v0.9.6
they removed the component.json in the tag? or is this normal?
I thought this worked with component 0.19, but there's the same error, but something in my (transitive) dependencies seems to be changed in the last days.
btw: why there is a redirect to the tag v0.9.6, why is the master branch is not used for installation if I run component-install techjacker/q
0.19 simply grabbed it from master. 1 actually checks the tags. if you want master, do techjacker/q@master
ahh, in 0.19 the command is component install
that was my mistake ^^
but if q is a transitive dependency, how can I solve this problem in component(1) ?
you would have to fork it or something =/ i tend to avoid forks for this reason. imo just point to master for now
okay thanks :pray: I will figure out the dependency which is using q without explicit master and try to send a PR with explicit master
Using Master is usually a bad idea I will suggest to fix q instead and to have your dependency pointing to that new version
but that's the problem, there is no tag/release with a component.json
that's really shitty:
techjacker/q is a outdated fork with a component.json only in the master microjs/q is a more outdated fork with the component.json only in the master kriskowal/q is the origin repository and they don't have inclination to maintain a component.json :scream:
can read it here: https://github.com/kriskowal/q/pull/162
I think that's a reasom to move from q to petkaantonov/bluebird, even it has a better performance
I want to install q via component (1.0.0-rc5):
component-install techjacker/q
and get this:
error : no remote found for dependency "techjacker/q@v0.9.6"
when I enable
DEBUG=*
I get this lines:this url is okay
https://raw.githubusercontent.com/techjacker/q/master/component.json
but not this here:https://raw.githubusercontent.com/techjacker/q/v0.9.6/component.json
url for github tags doesn't work, I think github tags and branches are only accessible via commit hash