我從 GitHub 克隆了一個項目,并嘗試使用我安裝的 Composer 安裝包,沒有出現任何問題。我運行作曲家安裝。不幸的是,我遇到了這些我無法弄清楚的錯誤,我該怎么辦? Loading composer repositories with package informationInstalling dependencies (including require-dev) from lock fileYour requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for tijsverkoyen/css-to-inline-styles 2.2.2 -> satisfiable by tijsverkoyen/css-to-inline-styles[2.2.2]. - tijsverkoyen/css-to-inline-styles 2.2.2 requires ext-dom * -> the requested PHP extension dom is missing from your system. Problem 2 - Installation request for phar-io/manifest 1.0.3 -> satisfiable by phar-io/manifest[1.0.3]. - phar-io/manifest 1.0.3 requires ext-dom * -> the requested PHP extension dom is missing from your system. Problem 3 - Installation request for phpunit/php-code-coverage 7.0.10 -> satisfiable by phpunit/php-code-coverage[7.0.10]. - phpunit/php-code-coverage 7.0.10 requires ext-dom * -> the requested PHP extension dom is missing from your system. Problem 4 - Installation request for phpunit/phpunit 8.5.4 -> satisfiable by phpunit/phpunit[8.5.4]. - phpunit/phpunit 8.5.4 requires ext-dom * -> the requested PHP extension dom is missing from your system. Problem 5 - Installation request for theseer/tokenizer 1.1.3 -> satisfiable by theseer/tokenizer[1.1.3]. - theseer/tokenizer 1.1.3 requires ext-dom * -> the requested PHP extension dom is missing from your system. Problem 6 - tijsverkoyen/css-to-inline-styles 2.2.2 requires ext-dom * -> the requested PHP extension dom is missing from your system. - laravel/framework v7.10.2 requires tijsverkoyen/css-to-inline-styles ^2.2.2 -> satisfiable by tijsverkoyen/css-to-inline-styles[2.2.2]. - Installation request for laravel/framework v7.10.2 -> satisfiable by laravel/framework[v7.10.2]. To enable extensions, verify that they are enabled in your .ini files: You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
- 1 回答
- 0 關注
- 188 瀏覽
添加回答
舉報
0/150
提交
取消