Skip to main content

Have you tried to run a composer update script that has bower-asset/jquery-ui-slider-pips set?  I have and realised that jquery-ui-slider-pips package had been removed.  So I added it back, and ran the command composer update.

composer update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires bower-asset/jquery-ui-slider-pips, it could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Hmmm, clearly not that way to apply.  Which I knew, just being a little cheeky and testing.  The better way to add is to run

composer require "bower-asset/jquery-ui-slider-pips:^1.11"

However, running this produced the following:

  [InvalidArgumentException]
  Could not find a matching version of package bower-asset/jquery-ui-slider-pips. Check the packa
  ge spelling, your version constraint and that the package is available in a stability which mat
  ches your minimum-stability (stable).

require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>]...

 

A little more research and you will find the package jquery pips has been deprecated and is no longer maintained.  This plugin should still function (with an older version of jQueryUI).  However, the recommended package is Svelte range slider

https://github.com/simeydotme/svelte-range-slider-pips

 

Time to move on from jQuery!