Anyone else getting an odd composer update error today?

Posted 4 years ago by alexleonard

I started a fresh new laravel project last week and just came back to it to update a few things and make sure I'm keeping up with laravel/laravel develop commits.

First thing I did was composer update but this threw an error:

Could not load package phpspec/phpspec in http://packagist.org: [UnexpectedValueException] Could not parse version  constraint ^1.0.1: Invalid version string "^1.0.1"  

I did have phpspec/phpspec in my require-dev (although version ~2.1) so I commented that out of my composer.json and re ran composer update.

Sadly I still continued to receive the error.

I searched through my project for instances of phpspec/phpspec and none of them specify ^1.0.1 so I'm not really sure what's causing the error.

Anyone else getting this error on a composer update?

Please sign in or create an account to participate in this conversation.