Code Monkey home page Code Monkey logo

Comments (5)

OvalMedia avatar OvalMedia commented on August 15, 2024

Additional note: in my dev system I forced the installation with 7.4 and it seems there are no issues.

from mc-magento2.

gonzaloebiz avatar gonzaloebiz commented on August 15, 2024

Hi @OvalMedia

what version of composer are you using?
I just test to install the extension in a magento 2.4.3-p1 with php 7.4 and works like a charm
Please let me know what is the command that are you running and what is the result

Best

from mc-magento2.

OvalMedia avatar OvalMedia commented on August 15, 2024

Composer version 2.4.4 2022-10-27 14:39:29
Command: composer require mailchimp/mc-magento2
Result:


Using version ^103.4 for mailchimp/mc-magento2
./composer.json has been updated
Running composer update mailchimp/mc-magento2
Loading composer repositories with package information
In Laminas\DependencyPlugin\DependencyRewriterV2::onPrePoolCreate
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - magento/magento2-functional-testing-framework is locked to version 2.4.5 and an update of this package was not requested.
    - magento/magento2-functional-testing-framework 2.4.5 requires php 7.0.2||7.0.4||~7.0.6||~7.1.0||~7.2.0||~7.3.0 -> your php version (7.4.33) does not satisfy that requirement.

You can also try re-running composer require with an explicit version constraint, e.g. "composer require mailchimp/mc-magento2:*" to figure out if any version is installable, or "composer require mailchimp/mc-magento2:^2.1" if you know which you need.

Now that I read it again... the complaint does not seem to come from your module explicitly.

from mc-magento2.

OvalMedia avatar OvalMedia commented on August 15, 2024

Just checked my other projects. The version of that module varies heavilly and sometimes it is even non-existent. Not that I am any smarter now but I assume that this is actually not your issue. Sorry about that.

from mc-magento2.

gonzaloebiz avatar gonzaloebiz commented on August 15, 2024

Keep in mind, magento 2.4.3 use composer 1
And the error is not with our extension, our extension works fine with php 7.4

look at this

php7.4 bin/magento --version
Magento CLI 2.4.3-p1

php7.4 `which composer1` --version
Composer version 1.10.26 2022-04-13 16:39:56

php7.4 `which composer1` require mailchimp/mc-magento2:103.4.62
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
./composer.json has been updated
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
  - Installing ebizmarts/mailchimp-lib (3.0.38): Loading from cache
  - Installing mailchimp/mc-magento2 (103.4.62): Downloading (100%)         
Writing lock file
Generating autoload files
126 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

As you can see th extension install and works fine

Best

from mc-magento2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.