Giter VIP home page Giter VIP logo

Comments (5)

endroid avatar endroid commented on July 18, 2024

Hi @diriy what version is it trying to install? The latest version (3.x) is specifically set up for PHP 7.1 and Symfony 3.4 / 4.0.

from qr-code-bundle.

diriy avatar diriy commented on July 18, 2024

@endroid, I did just as you mentioned at the documentation.

from qr-code-bundle.

endroid avatar endroid commented on July 18, 2024

Looks like composer is trying to install an old version. What happens when you explicitly set the version to the latest available?

from qr-code-bundle.

jeroendeleeuw avatar jeroendeleeuw commented on July 18, 2024

That worked for me by explicitly defining the latest version: composer require endroid/qr-code-bundle:3.1.2. Thank you, however I now get the following error:

PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Rule.php on line 76

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Rule.php on line 76

Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.

The memory_limit was already set to -1, to you know another option for increasing memory size during install? I also killed the Symphony server just to be sure, but it made no difference.

from qr-code-bundle.

endroid avatar endroid commented on July 18, 2024

@jeroendeleeuw I'm not sure. Did you try the following?

php -d memory_limit=-1 composer.phar ...

from qr-code-bundle.

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.