Open anyforever opened 4 years ago
是在 laravel 里面安装这个插件冲突吗?laravel 版本号多少?
laravel v7.5.2
"require": { "php": "^7.2.5", "fideloper/proxy": "^4.2", "first236108/sitemap": "^5.1", "fruitcake/laravel-cors": "^1.0", "guzzlehttp/guzzle": "^6.5", "hashids/hashids": "^4.0", "jaeger/querylist": "^4.1", "jaeger/querylist-absolute-url": "^4.0", "josh/laravel-phantomjs": "^1.1", "laravel/framework": "^7.0", "laravel/tinker": "^2.0", "predis/predis": "^1.1", "vinkla/hashids": "^8.1" }, "require-dev": { "facade/ignition": "^2.0", "fzaninotto/faker": "^1.9.1", "mockery/mockery": "^1.3.1", "nunomaduro/collision": "^4.1", "phpunit/phpunit": "^8.5" },
也可能是其它包使用了较高版本的symfony/process @jae-jae
还有PHP PhantomJS插件,也是这样子,不行把这两个依赖的修改一下,别依赖原来作者的了。。好多年不更新,跟不上了
看来下依赖关系,确实是依赖冲突了,除非有更好的包替代,否则暂时不会更换依赖。目前只能去原项目里面去向开发者反馈这个问题。
`- Can only install one of: symfony/process[4.4.x-dev, v5.0.7].
Installation failed, reverting ./composer.json to its original content.`
依赖的库版本太久不更新。。。