PHP Classes

Composer Install of Jaxon

Recommend this page to a friend!

      Jaxon  >  All threads  >  Composer Install of Jaxon  >  (Un) Subscribe thread alerts  
Subject:Composer Install of Jaxon
Summary:Error message
Messages:5
Author:Tony Hansen
Date:2016-07-30 23:49:47
 

  1. Composer Install of Jaxon   Reply   Report abuse  
Picture of Tony Hansen Tony Hansen - 2016-07-30 23:49:47
I am really excited about this package!

I am getting this error on composer update:

Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for phpclasses/jaxon-core >=1.0.0 -> satisfiable by phpclasses/jaxon-core[1.0.0].
- phpclasses/jaxon-core 1.0.0 requires pimple/pimple ~3.0 -> no matching package found.

Here is composer.json:
{
"name": "xyz.com",
"require": {
"erusev/parsedown": "1.5.3",
"mpdf/mpdf" : "*",
"mobiledetect/mobiledetectlib": "^2.8",
"tecnickcom/tcpdf": "^6.2",
"components/bootstrap": "^3.3",
"sendgrid/sendgrid": "~4.0",
"phpclasses/jaxon-core": ">=1.0.0"
},
"repositories":
[
{
"type": "composer",
"url": "https:\/\/www.phpclasses.org\/"
},
{
"packagist": false
}
]
}

  2. Re: Composer Install of Jaxon   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2016-08-03 05:48:38 - In reply to message 1 from Tony Hansen
In this case you need to remove the "packagist": false line.

  3. Re: Composer Install of Jaxon   Reply   Report abuse  
Picture of Tony Hansen Tony Hansen - 2016-08-05 18:00:28 - In reply to message 1 from Tony Hansen
I removed the packagist section but still get this:

- Installing phpclasses/jaxon-core (1.0.1)
Downloading: Failed
Downloading: Failed
Downloading: Failed

[Composer\Downloader\TransportException]
The "https://www.phpclasses.org/install/package/jaxon-core.zip" file could not be downloaded (HTTP/1.0 503 System is not available)

  4. Re: Composer Install of Jaxon   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2016-08-05 19:12:31 - In reply to message 3 from Tony Hansen
There is a bug on the package archive generation. I will be back to you today on this.

  5. Re: Composer Install of Jaxon   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2016-08-06 03:02:06 - In reply to message 3 from Tony Hansen
The problem is fixed. Please try again now.

The sample composer.json no longer shows packagist false for packages with their own composer.json file.

Thank you for reporting.