composer create-project workerman/webman 创建项目报错

xunater

问题描述

使用composer create-project workerman/webman 创建项目时报错

程序代码

composer create-project workerman/webman webman

报错信息

Package operations: 0 installs, 1 update, 9 removals
  - Downloading workerman/workerman (v4.1.15)
> support\Plugin::uninstall
Script support\Plugin::uninstall handling the pre-package-uninstall event terminated with an exception

In Plugin.php line 106:

  require_once(/Users/apple/.composer/vendor/workerman/webman-framework/src/s
  upport/helpers.php): Failed to open stream: No such file or directory

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]

截图报错信息里报错文件相关代码

操作系统及workerman/webman等框架组件具体版本

macOS Monterey 12.3;
PHP 8.1.27;
composer 2.5.7

633 2 1
2个回答

Tinywan

你这是composer 问题把

  • 暂无评论
xianjinrenshi
  • 暂无评论
×
🔝