无法再次安装 cakephp 4

问题描述

我有 wamp64、php 7.4 并且使用 composer 我从控制台运行了这个

composer create-project --prefer-dist "cakephp/app:^4.0" myapp

composer create-project --prefer-dist cakephp/app:~4.0 my_app_name

安装结束时出现此错误

Script App\Console\Installer::postInstall handing the post create project cmd event terminated with an exception 

[Symfony\Component\Console\Exception\RunTimeException\ Aborted
and some Symfony runtime exception when you get to the set folder permission y/n 

它创建了这个 JSON 文件

{
    "name": "cakephp/app","description": "CakePHP skeleton app","homepage": "https://cakephp.org","type": "project","license": "MIT","require": {
        "php": ">=7.2","cakephp/cakephp": "~4.2.0","cakephp/migrations": "^3.0","cakephp/plugin-installer": "^1.3","mobiledetect/mobiledetectlib": "^2.8"
    },"require-dev": {
        "cakephp/bake": "^2.3","cakephp/cakephp-codesniffer": "~4.2.0","cakephp/debug_kit": "^4.4","josegonzalez/dotenv": "^3.2","phpunit/phpunit": "~8.5.0 || ^9.3","psy/psysh": "@stable"
    },"suggest": {
        "markstory/asset_compress": "An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.","dereuromark/cakephp-ide-helper": "After baking your code,this keeps your annotations in sync with the code evolving from there on for maximum IDE and PHPStan/Psalm compatibility.","phpstan/phpstan": "PHPStan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code."
    },"autoload": {
        "psr-4": {
            "App\\": "src/"
        }
    },"autoload-dev": {
        "psr-4": {
            "App\\Test\\": "tests/","Cake\\Test\\": "vendor/cakephp/cakephp/tests/"
        }
    },"scripts": {
        "post-install-cmd": "App\\Console\\Installer::postInstall","post-create-project-cmd": "App\\Console\\Installer::postInstall","check": [
            "@test","@cs-check"
        ],"cs-check": "phpcs --colors -p  src/ tests/","cs-fix": "phpcbf --colors -p src/ tests/","stan": "phpstan analyse","test": "phpunit --colors=always"
    },"prefer-stable": true,"config": {
        "sort-packages": true
    }
}

How to Fix Cakephp 4 Composer Install Error

(我不明白这个问题的解决方案) Cakephp 4 Windows Installation Issues

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)