我正在尝试让代客工作,但是当我跑步时
composer global require cretueusebiu/valet-windows
我收到此错误:
您的要求无法解决为一组可安装的软件包。安装失败,正在将 ./composer.json 还原为其原始内容。
这是完整的输出:
C:\Users\Shadow\Desktop
λ composer global require cretueusebiu/valet-windows
Changed current directory to C:/Users/Shadow/AppData/Roaming/Composer
Using version ^2.1 for cretueusebiu/valet-windows
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- cretueusebiu/valet-windows 2.1.0 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
- cretueusebiu/valet-windows 2.1.1 requires nategood/httpful ~0.2 -> satisfiable by nategood/httpful[0.2.0, 0.2.1, 0.2.10, 0.2.11, 0.2.13, 0.2.16, 0.2.17, 0.2.19, 0.2.2, 0.2.20, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9].
- nategood/httpful 0.2.9 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.8 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.7 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.6 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.5 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.20 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.19 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.17 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.16 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.13 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.11 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.10 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.1 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- nategood/httpful 0.2.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- Installation request for cretueusebiu/valet-windows ^2.1 -> satisfiable by cretueusebiu/valet-windows[2.1.0, 2.1.1].
To enable extensions, verify that they are enabled in your .ini files:
- C:\php7\php.ini
You can also run `PHP --ini` inside terminal to see which files are used by PHP in CLI mode.
Installation failed, reverting ./composer.json to its original content.