'Creating sample CakePHP Project
Environment:
Mac OS Big Sur Version 11.6
Composer version 2.1.8 2021-09-15 13:55:14
PHP version 8.0.10
I crated a folder for my sample application:
~/cakephp/sample
and copied the latest composer.phar into it:
2262733 Sep 23 17:24 composer.phar
Then per the tutorial on the cakePHP tutorial site:
https://book.cakephp.org/4/en/quickstart.html
I typed the following command, from the ~/cakephp/sample folder:
php composer.phar create-project --prefer-dist cakephp/app:4.* cms
and I'm getting the following error message:
zsh: no matches found: cakephp/app:4.*
Any ideas?
Solution 1:[1]
Just remove the version requirement. Composer will load the most recent version.
composer create-project --prefer-dist cakephp/app testing_delete_me
Not sure why the version requirement screws things up, but it does every time.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Tom Belknap |
