Open brisingr123 opened 5 years ago
Hello @brisingr123
Can you show me your composer.json file ?
Regards
{ "description": "The CodeIgniter framework", "name": "codeigniter/framework", "type": "project", "homepage": "https://codeigniter.com", "license": "MIT", "support": { "forum": "http://forum.codeigniter.com/", "wiki": "https://github.com/bcit-ci/CodeIgniter/wiki", "irc": "irc://irc.freenode.net/codeigniter", "source": "https://github.com/bcit-ci/CodeIgniter" }, "require": { "php": ">=5.2.4", "aws/aws-sdk-php": "^3.66", "marcelxyz/php-xml-digital-signature": "^1.0", "drewm/mailchimp-api": "^2.5", }, "suggest": { "paragonie/random_compat": "Provides better randomness in PHP 5.x" }, "require-dev": { "mikey179/vfsStream": "1.1.*" } }
I am using the command
composer require romainrg/rabbitmq_client
Can you try to run composer update command and run the require command again ?
Just tried. Same error :(
how did you sort this error? i got the same error
Add 'version: 3.1' to composer.json should resolve it:
{ "description": "The CodeIgniter framework", "name": "codeigniter/framework", "type": "project", "homepage": "https://codeigniter.com", "license": "MIT", "version": "3.1", "support": { "forum": "http://forum.codeigniter.com/", "wiki": "https://github.com/bcit-ci/CodeIgniter/wiki", "slack": "https://codeigniterchat.slack.com", "source": "https://github.com/bcit-ci/CodeIgniter" }, "require": { "php": ">=5.3.7", "romainrg/rabbitmq_client": "^6.2" }, "suggest": { "paragonie/random_compat": "Provides better randomness in PHP 5.x" }, "require-dev": { "mikey179/vfsStream": "1.1.", "phpunit/phpunit": "4. || 5.*" } }
Add 'version: 3.1' to composer.json should resolve it:
{ "description": "The CodeIgniter framework", "name": "codeigniter/framework", "type": "project", "homepage": "https://codeigniter.com", "license": "MIT", "version": "3.1", "support": { "forum": "http://forum.codeigniter.com/", "wiki": "https://github.com/bcit-ci/CodeIgniter/wiki", "slack": "https://codeigniterchat.slack.com", "source": "https://github.com/bcit-ci/CodeIgniter" }, "require": { "php": ">=5.3.7", "romainrg/rabbitmq_client": "^6.2" }, "suggest": { "paragonie/randomcompat": "Provides better randomness in PHP 5.x" }, "require-dev": { "mikey179/vfsStream": "1.1.", "phpunit/phpunit": "4._ || 5.*" } }
Add "version": "3.1", .... "romainrg/rabbitmq_client": "^6.2" ...
into composer.json
It works!!!!!!!!!!!!!!
Hi.
I am using CI 3.1.9. when I try to install using composer, I get the following error:
Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1
Any help on this is much appreciated. Thanks