fxpio / composer-asset-plugin

NPM/Bower Dependency Manager for Composer
MIT License
893 stars 156 forks source link

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

Open Babi-B opened 2 years ago

Babi-B commented 2 years ago

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

francoispluchino commented 2 years ago

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.