Forums › Forums › OroCRM › OroCRM – Installation/Technical Issues or Problems › Mailchimp plugin error on installation: Could not load package sylius/sylius
This topic contains 5 replies, has 4 voices, and was last updated by clmd 9 years ago.
Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.
- CreatorTopic
- February 3, 2015 at 10:12 am #26465
Hey Guys, I’m getting this error when trying to install the Mailchimp plugin: Could not load package sylius/sylius in http://packagist.org: [UnexpectedValueException] Could not parse version constraint ^1.2.2: Invalid version string “^1.2.2”
How can I resolve this?
Many thanks
- CreatorTopic
- AuthorReplies
- February 4, 2015 at 7:31 am #26466
H,
Upgrade composer to latest version, backup you application and install extension from command line:123456composer self-updatecomposer require oro/crm-mail-chimp:<version you need>rm app/cache/app/console oro:platform:update --env prod --forcerm app/cache/<version you need> – version depends on installed OroCRM version (1.6 -> 1.2 MailChimp, 1.5 -> 1.1 MailChimp, etc)
February 4, 2015 at 8:48 am #26467Great, that did the trick!
I got a runtime exception, but it looks like it did finish.Last output before the RuntimeException was:
12345[file+] web/js/routes.js16:05:02 [file+] oro.locale_data.jsGenerating require.js main configGenerating require.js build configRunning code optimizerMarch 4, 2015 at 10:00 am #26468So, I am attempting to add the MailChimp plugin and I receive the following error:
1php composer.phar require oro/crm-mail-chimp:1.212345678910111213Your requirements could not be resolved to an installable set of packages.Problem 1- Installation request for oro/crm-mail-chimp 1.2 -> satisfiable by oro/crm-mail-chimp[1.2.0].- Installation request for composer/composer == 1.0.0.0-alpha8 -> satisfiable by composer/composer[1.0.0-alpha8].- remove oro/platform 1.x-dev|keep oro/platform dev-master- Conclusion: remove oro/platform dev-master- oro/platform 1.x-dev requires composer/composer 1.0.0-alpha9 -> satisfiable by composer/composer[1.0.0-alpha9].- oro/platform 1.x-dev requires composer/composer 1.0.0-alpha9 -> satisfiable by composer/composer[1.0.0-alpha9].- Conclusion: don't install composer/composer 1.0.0-alpha9- Installation request for oro/platform == 1.9999999.9999999.9999999-dev -> satisfiable by oro/platform[1.x-dev].Installation failed, reverting ./composer.json to its original content.Any idea what is occurring? Thanks in advance for your help!
March 11, 2015 at 2:11 am #26469Please try next command
1php composer.phar require oro/crm-mail-chimp:1.2.1March 11, 2015 at 1:33 pm #26470Sergey – thanks, but it still failed with the same message.
1234567891011Your requirements could not be resolved to an installable set of packages.Problem 1- Installation request for oro/crm-mail-chimp 1.2.1 -> satisfiable by oro/crm-mail-chimp[1.2.1].- Installation request for composer/composer == 1.0.0.0-alpha8 -> satisfiable by composer/composer[1.0.0-alpha8].- remove oro/platform 1.x-dev|keep oro/platform dev-master- Conclusion: remove oro/platform dev-master- oro/platform 1.x-dev requires composer/composer 1.0.0-alpha9 -> satisfiable by composer/composer[1.0.0-alpha9].- oro/platform 1.x-dev requires composer/composer 1.0.0-alpha9 -> satisfiable by composer/composer[1.0.0-alpha9].- Conclusion: don't install composer/composer 1.0.0-alpha9- Installation request for oro/platform == 1.9999999.9999999.9999999-dev -> satisfiable by oro/platform[1.x-dev].Any additional suggestions?
- AuthorReplies
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.