v2.5.2
Giriş yap

Composer jenssegers/blade kurarken hata alıyorum.

099999
614 defa görüntülendi

Herkese merhaba. Tayfun hocamın PHP Framework dersini izliyor, uyguluyorum. Windows 10 da composer kuramadım bende Wsl Ubuntu 20.4 kullanıyorum. Şuana kadar bi sıkıntım olmadı fakat composer require jenssegers/blade kurarken hata alıyorum. Sorunu bir türlü çözemedim.
Hata mesajı ise şu:

Using version ^1.4 for jenssegers/blade
./composer.json has been updated
Running composer update jenssegers/blade --with-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - illuminate/support[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.8, v7.0.0, ..., v7.30.1, v8.0.0, ..., v8.20.1] require ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension.
    - jenssegers/blade v1.4.0 requires illuminate/view ^5.5|^6.0|^7.0|^8.0 -> satisfiable by illuminate/view[v5.5.0, ..., v5.8.36, v6.0.0, ..., v6.20.8, v7.0.0, ..., v7.30.1, v8.0.0, ..., v8.20.1].
    - illuminate/view[v5.5.0, ..., v5.5.44] require illuminate/support 5.5.* -> satisfiable by illuminate/support[v5.5.0, ..., v5.5.44].
    - illuminate/view[v5.6.0, ..., v5.6.39] require illuminate/support 5.6.* -> satisfiable by illuminate/support[v5.6.0, ..., v5.6.39].
    - illuminate/view[v5.7.0, ..., v5.7.28] require illuminate/support 5.7.* -> satisfiable by illuminate/support[v5.7.0, ..., v5.7.28].
    - illuminate/view[v5.8.0, ..., v5.8.36] require illuminate/support 5.8.* -> satisfiable by illuminate/support[v5.8.0, ..., v5.8.36].
    - illuminate/view[v6.0.0, ..., v6.20.8] require illuminate/support ^6.0 -> satisfiable by illuminate/support[v6.0.0, ..., v6.20.8].
    - illuminate/view[v7.0.0, ..., v7.30.1] require illuminate/support ^7.0 -> satisfiable by illuminate/support[v7.0.0, ..., v7.30.1].
    - illuminate/view[v8.0.0, ..., v8.20.1] require illuminate/support ^8.0 -> satisfiable by illuminate/support[v8.0.0, ..., v8.20.1].
    - Root composer.json requires jenssegers/blade ^1.4 -> satisfiable by jenssegers/blade[v1.4.0].

To enable extensions, verify that they are enabled in your .ini files:
    - /etc/php/7.4/cli/php.ini
    - /etc/php/7.4/cli/conf.d/10-opcache.ini
    - /etc/php/7.4/cli/conf.d/10-pdo.ini
    - /etc/php/7.4/cli/conf.d/20-calendar.ini
    - /etc/php/7.4/cli/conf.d/20-ctype.ini
    - /etc/php/7.4/cli/conf.d/20-exif.ini
    - /etc/php/7.4/cli/conf.d/20-ffi.ini
    - /etc/php/7.4/cli/conf.d/20-fileinfo.ini
    - /etc/php/7.4/cli/conf.d/20-ftp.ini
    - /etc/php/7.4/cli/conf.d/20-gettext.ini
    - /etc/php/7.4/cli/conf.d/20-iconv.ini
    - /etc/php/7.4/cli/conf.d/20-json.ini
    - /etc/php/7.4/cli/conf.d/20-phar.ini
    - /etc/php/7.4/cli/conf.d/20-posix.ini
    - /etc/php/7.4/cli/conf.d/20-readline.ini
    - /etc/php/7.4/cli/conf.d/20-shmop.ini
    - /etc/php/7.4/cli/conf.d/20-sockets.ini
    - /etc/php/7.4/cli/conf.d/20-sysvmsg.ini
    - /etc/php/7.4/cli/conf.d/20-sysvsem.ini
    - /etc/php/7.4/cli/conf.d/20-sysvshm.ini
    - /etc/php/7.4/cli/conf.d/20-tokenizer.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 and ./composer.lock to their original content.
Cevap yaz
Cevaplar (1)
tayfunerbilen
1455 gün önce

hata mesajını yazıyor aslında, paket mbstring kullanıyormuş ve sunucunuzda bu ya yok ya da aktif değil, bunu ayarlarsanız probleminiz kalmaz.