Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: `bower install` no longer working with chartist

See original GitHub issue

Would 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

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
bower chartist#v0.9.8         validate 0.9.8 against
bower chartist#~0.9.4           cached
bower chartist#~0.9.4         validate 0.9.8 against
bower chartist#~0.9.4     ENORESTARGET No tag found that was able to satisfy ~0.9.4

Additional error details:
No versions found in

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).


Please see above

Chartist version


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:closed
  • Created a year ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

gionkunzcommented, Aug 8, 2022

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.

gornercommented, Aug 9, 2022

Can confirm that the issue appears to be fixed with our previous bower.json. Thanks, @gionkunz. Will close this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug in bower-installer, can't find bower.json - Stack Overflow
Your bower.json is incorrect, this part "chartist": [ "bower_components/chartist/dist/chartist.min.js", "bower_components/chartist/dist/chartist.min.css", ] ...
Read more >
Error after pull #329 - bower install fails · Issue #330 · hygieia ...
I tried building after the #329 was merged and I get an error, I am trying to research it.. [INFO] --- frontend-maven-plugin:0.0.27:bower (bower...
Read more >
chartist - npm
Start using chartist in your project by running `npm i chartist`. There are 182 other projects in the npm registry using chartist.
Read more >
Bower — a package manager for the web
To get started, Bower works by fetching and installing packages from all over, taking care of hunting, finding, downloading, and saving the stuff...
Read more >
Visual Studio - Bower: Modern Tools for Web Development
Doesn't NuGet work just fine for packages, and isn't msbuild sufficient as a build ... You only need to install Bower once, not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found