hiqdev / asset-packagist

Asset Packagist
https://asset-packagist.org
BSD 3-Clause "New" or "Revised" License
247 stars 24 forks source link

Can't install bower-asset/jsdiff with asset-packagist #81

Closed rugabarbo closed 6 years ago

rugabarbo commented 6 years ago

Command: composer require bower-asset/jsdiff

Result:

  [InvalidArgumentException]
  Could not find a matching version of package bower-asset/jsdiff. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stabil
  ity (dev).

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...

This worked fine with fxp/composer-asset-plugin 1.1.4, but doesn't work with asset-packagist. Other bower packages are installed normally in both ways. For example, bower-asset/cropper:2.3.3

rugabarbo commented 6 years ago

Solved by using npm-asset: composer require npm-asset/diff

Looks like the package was renamed and asset-plugin used local cache for fetch...