Your requirements could not be resolved to an installable set of packages. in laravel 8
Asked Answered
L

2

9

Your requirements could not be resolved to an installable set of packages.

Problem 1

  • phpunit/phpunit[dev-master, 9.3.3, ..., 9.4.x-dev] require ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
  • phpunit/phpunit 9.5.x-dev is an alias of phpunit/phpunit dev-master and thus requires it to be installed too.
  • Root composer.json requires phpunit/phpunit ^9.3.3 -> satisfiable by phpunit/phpunit[9.3.3, ..., 9.5.x-dev (alias of dev-master)].
Leandra answered 4/12, 2020 at 5:27 Comment(3)
Install or enable PHP's dom extensionJones
This might help you with installing the extension https://mcmap.net/q/98329/-php7-install-ext-dom-issueHoxha
i also do this think but not workingLeandra
F
8

If you run on ubuntu or another debian based OS sudo apt install phpunit should install this extension.

For development you can use Docker, see more details on the Laravel 8 documentation.

Frampton answered 4/4, 2021 at 20:31 Comment(0)
M
0

October, 2023 on Alpine linux

  • phpunit/phpunit[9.5.0, ..., 9.5.28] require ext-xmlwriter * -> it is missing from your system. Install or enable PHP's xmlwriter extension.
  • Root composer.json requires phpunit/phpunit ~9.5.0 -> satisfiable by phpunit/phpunit[9.5.0, ..., 9.5.28].
apk add phpunit
Melanie answered 23/10, 2023 at 8:47 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.