Laravel error Composer

Hai jika kalian mengalami error pada saat menjalankan composer install dan errornya sebagai berikut

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

Problem 1
– laravel/framework v5.5.13 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
– laravel/framework v5.5.13 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
– Installation request for laravel/framework v5.5.13 -> satisfiable by laravel/framework[v5.5.13].

Kalian bisa mengartasinya dengan cara menginstall mbstring di php dengan cara memasukan kode berikut di terminal kalian

sudo apt-get install php-gd php-xml php7.2-mbstring

Lalu Enter , dan coba lagi mejalankan perintah composer kalian.

semoga bermafaat

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s