hiqdev / asset-packagist

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

Cannot fetch ascli package #101

Closed ganigeorgiev closed 5 years ago

ganigeorgiev commented 5 years ago

One of my dependencies requires the ascli package (https://www.npmjs.com/package/ascli), and I've tried fetching it through the asset-packagist website but got "Package update failed" error.

This is the error that is returned on composer install/update:

Problem 1
    - npm-asset/protobufjs 5.0.3 requires npm-asset/ascli ~1 -> no matching package found.
    ...

The main package I'm trying to install is npm-asset/presentator-spa (https://www.npmjs.com/package/presentator-spa).

SilverFire commented 5 years ago

Hi, thank you for the report.

The ascli package author uses repository.type = 'url' in package.json that is is not commonly supported. I have opened a PR in fxp/c-a-p but I'm not sure it will be merged.

Though I've fetched that package for you, I recommend you to submit a PR to ascli repository to fix this thing as well.

SilverFire commented 5 years ago

Happily, https://github.com/fxpio/composer-asset-plugin/pull/331 was merged