げんとめブログ

Laravelプロジェクト作成時のエラー

入門書見ながらプロジェクト作ろうとしたら、なんかこんな感じのエラー出ました。

Crafting application…
 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
     - Installation request for league/flysystem 1.0.64 -> satisfiable by league/flysystem[1.0.64].
     - league/flysystem 1.0.64 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
   Problem 2
     - league/flysystem 1.0.64 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
     - laravel/framework v6.15.1 requires league/flysystem ^1.0.8 -> satisfiable by league/flysystem[1.0.64].
     - Installation request for laravel/framework v6.15.1 -> satisfiable by laravel/framework[v6.15.1].
 To enable extensions, verify that they are enabled in your .ini files:
     - C:\phpがおいてあるフォルダ\php.ini
   You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.

よくわからんけどPHPが置いてあるフォルダphp.ini(設定ファイル)から

;extension=fileinfo

ってなってたのをセミコロン取って

extension=fileinfo

にしたらとりあえず進んだ。

詳細は不明……。

Exit mobile version