LoginSignup
0
0

More than 3 years have passed since last update.

Laravel アプリのローカルサーバの起動に失敗する

Last updated at Posted at 2021-02-10

目的

  • git cloneした直後のLaravelアプリのローカルサーバ起動コマンド($ php artisan serve)の実行に失敗したので原因と解決方法を記載する。

実施環境

  • ハードウェア環境
項目 情報
OS macOS Catalina(10.15.5)
ハードウェア MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)
プロセッサ 2 GHz クアッドコアIntel Core i5
メモリ 32 GB 3733 MHz LPDDR4
グラフィックス Intel Iris Plus Graphics 1536 MB
  • ソフトウェア環境
項目 情報 備考
PHP バージョン 7.4.3 Homwbrewを用いて導入
Laravel バージョン 7.0.8 commposerを用いて導入
MySQLバージョン 8.0.19 for osx10.13 on x86_64 Homwbrewを用いて導入

原因

  • composer installコマンドが実行されていない。

解決策

  • アプリ名ディレクトリで下記コマンドを実行する。

    $ composer install
    
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0