[Bug]: `bower install` no longer working with chartist
See original GitHub issueWould you like to work on a fix?
- Check this if you would like to implement a PR, we are more than happy to help you go through the process.
Current and expected behavior
Expected behaviour: Running bower install
in a project that depends on "chartist": "~0.9.8"
and/or "chartist-plugin-tooltip": "~0.0.15"
installs the packages properly.
Actual behaviour:
Following the relocation of Chartist to a new GitHub location and replacement of the old one with a README, we now get this result in CI:
bower ENORESTARGET No tag found that was able to satisfy ~0.9.8
Additional error details:
No versions found in https://github.com/gionkunz/chartist-js.git
I’ve tried replacing the Chartist entry with "chartist": "chartist-js/chartist#v0.9.8"
however since we’re also using chartist-plugin-tooltip that also fails:
bower chartist#v0.9.8 cached https://github.com/chartist-js/chartist.git#0.9.8
bower chartist#v0.9.8 validate 0.9.8 against https://github.com/chartist-js/chartist.git#v0.9.8
bower chartist#~0.9.4 cached https://github.com/gionkunz/chartist-js.git#0.9.8
bower chartist#~0.9.4 validate 0.9.8 against https://github.com/gionkunz/chartist-js.git#~0.9.4
bower chartist#~0.9.4 ENORESTARGET No tag found that was able to satisfy ~0.9.4
Additional error details:
No versions found in https://github.com/gionkunz/chartist-js.git
And it does not appear there is any way to have Bower force packages to accept other dependencies (I saw something about a resolutions
option in bower.json but that did not seem to help).
Reproduction
Please see above
Chartist version
v0.9.8
Possible solution
Long term, our team’s project should stop using Bower which is deprecated. 😛 (We only use it currently for packages referenced by certain older parts of our codebase we haven’t needed to touch in a while.)
Short term, the maintainers would have to update the Bower package location, and if they are able to do so it’d be much appreciated.
Alternatively, we could (and probably will for now) fork chartist-plugin-tooltip in order to work around this by specifying the new GitHub location in its bower.json file.
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:7
Top GitHub Comments
Okay, I have just merged the latest commit and all the history of the 0.x version back into gionkunz/chartist-js. I’ve also pushed all tags of previous versions to prevent any further issues with direct dependents which are in maintenance mode. Let me know if that helps.
Can confirm that the issue appears to be fixed with our previous bower.json. Thanks, @gionkunz. Will close this issue.