composer-asset-plugin icon indicating copy to clipboard operation
composer-asset-plugin copied to clipboard

composer global require "fxp/composer-asset-plugin:dev-master" fails

Open Babi-B opened this issue 2 years ago • 1 comments

Problem Statement

I just installed composer on my machine. When I run composer global require "fxp/composer-asset-plugin:dev-master" I get back

Changed current directory to C:/Users/USER/AppData/Roaming/Composer
./composer.json has been created
Running composer update fxp/composer-asset-plugin
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 fxp/composer-asset-plugin dev-master, found fxp/composer-asset-plugin[v1.0.0-beta1, ..., 1.4.x-dev] but it does not match the constraint.


Installation failed, deleting ./composer.json.

Environment

I'm on Windows 10, RAM 8Gig, and 300Gig SSD. Composer version 2.3.5

Babi-B avatar Apr 28 '22 11:04 Babi-B

Hello,

This plugin is only compatible with Composer 1. As indicated on the readme and the issue #334, the next major version of Composer Asset Plugin is so different, but also incompatible with the current version, that it became a new project named Foxy.

francoispluchino avatar May 04 '22 19:05 francoispluchino