
When ever you find above issue then do one thing that your ubuntu server is missing with some packages like ext-dom & php-xml. you have to do simply below things to solve these issue in your machine. Let’s get started:
Step 1 : Run Below Commands to install php-xml
sudo apt install php-xml
Step 2 : then install one more package mbstring
sudo apt-get install php-mbstring
Step 3: Then run Below command
composer update
References :



- How To Set Up Apache Virtual Hosts on Ubuntu 20.04.2 LTS - October 28, 2021
- How to Fix ” Vue packages version mismatch:” error in Laravel 5.5 - April 15, 2021
- Laravel say that Auth guard [user] is not defined - April 15, 2021