composer command fails

Recommend this page to a friend!

      d3 PHP Printer Monitoring  >  All threads  >  composer command fails  >  (Un) Subscribe thread alerts  
Subject:composer command fails
Summary:composer can't find correct version
Messages:2
Author:Peter Barney
Date:2021-06-09 00:11:46
 

 


  1. composer command fails   Reply   Report abuse  
Picture of Peter Barney Peter Barney - 2021-06-09 00:11:46
Running
composer require d3yii2/d3printer "*"

Returns this:

Problem 1
- Root composer.json requires d3yii2/d3printer *, found d3yii2/d3printer[dev-main, dev-develop] but it does not match your minimum-stability.
Receiving the following error (among many similar errors):

So if I run this instead:
composer require d3yii2/d3printer:dev-main

I get this:

Your requirements could not be resolved to an installable set of packages.

Problem 1
- yiisoft/yii2[2.0.0, ..., 2.0.6] require bower-asset/jquery 2.1.*@stable | 1.11.*@stable -> could not be found in any version
...etc...
- yiisoft/yii2[2.0.36, ..., 2.0.42.1] require bower-asset/jquery 3.5.*@stable | 3.4.*@stable | 3.3.*@stable | 3.2.*@stable | 3.1.*@stable | 2.2.*@stable | 2.1.*@stable | 1.11.*@stable | 1.12.*@stable -> could not be found in any version

  2. Re: composer command fails   Reply   Report abuse  
Picture of Uldis Nelsons Uldis Nelsons - 2021-06-09 02:58:45 - In reply to message 1 from Peter Barney
Hi!

1.
You must install by
composer require d3yii2/d3printer dev-main

2.
Package work only with HP LaserJet M203dn

 

For more information send a message to info at phpclasses dot org.