hiqdev / asset-packagist

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

Invalid version string "2.1.1.0-patch2.1" #25

Closed karneds closed 7 years ago

karneds commented 7 years ago
  [RuntimeException]                                                                                                                              
  Could not load package bower-asset/sizzle in https://asset-packagist.org: [UnexpectedValueException] Invalid version string "2.1.1.0-patch2.1"  

  [UnexpectedValueException]                 
  Invalid version string "2.1.1.0-patch2.1"  
hiqsol commented 7 years ago

Can't reproduce :-/

Here is my composer.json:

{
    "name": "test/t1",
    "type": "project",
    "require": {
        "bower-asset/sizzle": "~2.1.1"                                                                                                                                                                 
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://asset-packagist.org"
        }
    ]
}

and here is the output of composer install:

Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing bower-asset/sizzle (2.1.1.0-patch2.1) Loading from cache
Writing lock file
Generating autoload files

I've got latest composer 1.3.1.

SilverFire commented 7 years ago

Packages with bad version requirement can not be parsed and will not be imported to asset-packagist.

SilverFire commented 6 years ago

The issue is fixed, bower-asset/sizzle is now available