COmposer 更新出错 ,提示找不到webmanwebman-framework版本

问题描述

Composer 根据composer.json更新的时候 提示我 标题中的错误,很费解,Windowns没遇到过
Ubuntu环境

Root composer.json requires workerman/webmanwebman-framework, it could not be found in any version, there may be a typo in the package name.

composer 文件

{
  "name": "workerman/webman",
  "type": "project",
  "keywords": [
    "high performance",
    "http service"
  ],
  "homepage": "https://www.workerman.net",
  "license": "MIT",
  "description": "High performance HTTP Service Framework.",
  "authors": [
    {
      "name": "walkor",
      "email": "walkor@workerman.net",
      "homepage": "https://www.workerman.net",
      "role": "Developer"
    }
  ],
  "support": {
    "email": "walkor@workerman.net",
    "issues": "https://github.com/walkor/webman/issues",
    "forum": "https://wenda.workerman.net/",
    "wiki": "https://workerman.net/doc/webman",
    "source": "https://github.com/walkor/webman"
  },
  "require": {
    "php": ">=7.2",
    "workerman/webmanwebman-framework": "^1.5.0",
    "monolog/monolog": "^2.0",
    "illuminate/database": "^9.52",
    "illuminate/pagination": "^9.52",
    "illuminate/events": "^9.52",
    "symfony/var-dumper": "^6.0",
    "topthink/think-template": "^3.0"
  },
  "suggest": {
    "ext-event": "For better performance. "
  },
  "autoload": {
    "psr-4": {
      "": "./",
      "app\\": "./app",
      "App\\": "./app",
      "app\\View\\Components\\": "./app/view/components"
    },
    "files": [
      "./support/helpers.php"
    ]
  },
  "scripts": {
    "post-package-install": [
      "support\\Plugin::install"
    ],
    "post-package-update": [
      "support\\Plugin::install"
    ],
    "pre-package-uninstall": [
      "support\\Plugin::uninstall"
    ]
  }
}

错误截图

截图

操作系统

PHP8.1版本,ubuntu系统,composer version 2.6.5 2023-10-06 10:11:52

548 1 0
1个回答

six

提示那么明显,包名错了。有问题的时候咱能不能自己先检查下,别总做不过脑子的伸手党

年代过于久远,无法发表回答
×
🔝