composer create-project is bad work, yiisoft's event-dispatcher / yii-view... package is not version found
uiosun opened this issue · comments
UioSun commented
What steps will reproduce the problem?
- run
php.exe composer create-project --prefer-dist --stability=dev yiisoft/app sim-world
What is the expected result?
New project init done.
What do you get instead?
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires yiisoft/event-dispatcher 3.0.x-dev, found yiisoft/event-dispatcher[dev-master, 1.0.0, 1.0.1, 1.1.0] but it does not match the constraint.
Problem 2
- Root composer.json requires yiisoft/yii-view ^3.0@dev -> satisfiable by yiisoft/yii-view[3.0.0].
- yiisoft/yii-view 3.0.0 requires yiisoft/aliases ^2.0 -> found yiisoft/aliases[2.0.0] but it conflicts with your root composer.json require (^1.1.0).
Problem 3
- yiisoft/yii-debug dev-master requires yiisoft/aliases ^3.0 -> found yiisoft/aliases[3.0.0] but it conflicts with your root composer.json require (^1.1.0).
- yiisoft/yii-debug 3.0.x-dev is an alias of yiisoft/yii-debug dev-master and thus requires it to be installed too.
- Root composer.json requires yiisoft/yii-debug ^3.0@dev -> satisfiable by yiisoft/yii-debug[3.0.x-dev (alias of dev-master)].
Additional info
Q | A |
---|---|
Version | 1.0.? |
PHP version | 8.2.12 TS |
Operating system | Windows 10 64x and Git-bash terminal |
Sergei Predvoditelev commented
Hello, @uiosun !
Try use this command:
php.exe composer create-project --prefer-dist --stability=dev yiisoft/app:dev-master sim-world