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.
{
"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
提示那么明显,包名错了。有问题的时候咱能不能自己先检查下,别总做不过脑子的伸手党
哦哦 大哥批评的是,没有核对过,我想这个这文件是自动生成的 ,没动过啊