1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

WindowsでのLaravel Sailを用いた環境構築

Posted at

はじめに

私は現在エンジニア転職を目指して学習をしております!
今回、Dockerを用いたLaravelアプリケーションの環境構築(Laravel Sail)を学習していたところ、見事に苦戦したので備忘録として記事に残しておきます🤲

⚠️この記事ではLaravel11.xを前提としています

苦戦ログ


  • curlコマンド再実行→失敗→Ubuntuでの実行

    VScodeのターミナル(bash)で再度

    curl -s https://laravel.build/example-app | bash
    

    を実行したが、またエラー…

    関連する記事がなく、どん詰まりになったので、GPT先生に相談したところ

    以下のようなフィードバックを頂いた↓

    Dockerデスクトップの設定

    DockerDesktopの設定>Resources>WSL Integrationにて

    Ubuntuにチェック

    PCを再起動

    Ubuntuでのcurlコマンド実行を促されたが、Ubuntuがうまく起動せず

    PCを再起動

    Ubuntuで実行→成功

    VScodeのターミナルでUbuntuを選択し、再度curlコマンドを実行

    curl -s https://laravel.build/example-app | bash
    

    バッチリ依存関係がダウンロードされました!!

1
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?