cakephp / app

CakePHP application template
370 stars 391 forks source link

Composer install/create-project error due to cakephp/bake and wyrihaximus/twig-view requirements #808

Closed arturmamedov closed 4 years ago

arturmamedov commented 4 years ago

This is a (multiple allowed):

What you did

I create project with composer that after try to install al the dependencies requiring-dev also

What happened

Error is what heppened: Your requirements could not be resolved to an installable set of packages.

Below entire message output:

$> composer create-project --prefer-dist cakephp/app cakephp4

Installing cakephp/app (4.1.1) Installing cakephp/app (4.1.1): Downloading (100%) Created project in cakephp4 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

dereuromark commented 4 years ago

What composer version? Try latest.

arturmamedov commented 4 years ago

Sorry i now read the row twig/twig v3.0.5 requires php >=7.2.5 -> your PHP version (7.2.4) does not satisfy that requirement.

So i update PHP and all work fine!

Also for novice like me, don't forget enable intl in php.ini