Chatter-Laravel / core

The Laravel single page forum package (Vue + Tailwind CSS + Laravel)
MIT License
159 stars 39 forks source link

Facing problems with Laravel 5.8 #24

Closed kenzo44 closed 4 years ago

kenzo44 commented 4 years ago

Hello,

I am trying to set this up for my project and I am running into a ton of problems for some reason

Running composer require "chatter-laravel/core:^5.8" leads to -

./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)

Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php on line 223

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

I found a fix then used this which further leads to this -

COMPOSER_MEMORY_LIMIT=-1 composer require "chatter-laravel/core:^5.8"
./composer.json has been updated
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
    - chatter-laravel/core 5.x-dev requires mews/purifier ^3.1 -> satisfiable by mews/purifier[3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2].
    - chatter-laravel/core v5.8.0 requires mews/purifier ^3.1 -> satisfiable by mews/purifier[3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2].
    - chatter-laravel/core v5.8.1 requires mews/purifier ^3.1 -> satisfiable by mews/purifier[3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2].
    - chatter-laravel/core v5.8.2 requires mews/purifier ^3.1 -> satisfiable by mews/purifier[3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2].
    - chatter-laravel/core v5.8.3 requires mews/purifier ^3.1 -> satisfiable by mews/purifier[3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2].
    - chatter-laravel/core v5.8.4 requires mews/purifier ^3.1 -> satisfiable by mews/purifier[3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2].
    - chatter-laravel/core v5.8.5 requires mews/purifier ^3.1 -> satisfiable by mews/purifier[3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2].
    - chatter-laravel/core v5.8.6 requires mews/purifier ^3.1 -> satisfiable by mews/purifier[3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0, 3.2.1, 3.2.2].
    - mews/purifier 3.2.2 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
    - mews/purifier 3.2.1 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
    - mews/purifier 3.2.0 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
    - mews/purifier 3.1.3 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
    - mews/purifier 3.1.2 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
    - mews/purifier 3.1.1 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
    - mews/purifier 3.1.0 requires php ^7.2 -> your PHP version (7.1.23) does not satisfy that requirement.
    - Installation request for chatter-laravel/core ^5.8 -> satisfiable by chatter-laravel/core[5.x-dev, v5.8.0, v5.8.1, v5.8.2, v5.8.3, v5.8.4, v5.8.5, v5.8.6].

I have just been stuck in a loop. Any help is appreciated. Thank you :)

sbarbat commented 4 years ago

Seems you're using PHP 7.1, try upgrading to PHP 7.2

kenzo44 commented 4 years ago

Thanks for replying back...I appreciate it. Update the version of php helped :)

sbarbat commented 4 years ago

Great! Thanks 👍