composer now throwing an error after attempting to setup IronMQ

306 views Asked by At

I ran composer self-update

then I added this in my composer.json

"iron-io/iron_mq": "*"

the ran

composer update

and

composer install

But now no matter what I do I'm getting this error

C:\Project>composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Nothing to install or update
Generating autoload files

Fatal error: Class 'IronCore' not found in C:\Project\vendor\iron-io\iron_mq\IronMQ.class.php on line 118
Script php artisan optimize handling the post-install-cmd event returned with an error



  [RuntimeException]
  Error Output:



install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader]

Did something get corrupted what's going on? I tried to remove the line in composer but the error is stuck there now!

1

There are 1 answers

4
thousandsofthem On

Uh... No idea what just happened.

Try to:

  1. declare exact version: (latest for iron_mq: 1.4.5)
  2. add line with iron_core dependency (should work without it though):

"iron-io/iron_core": "0.1.5"

EDIT:

Please test latest iron_mq version (1.4.6)