3

I'm trying to install Sail for Laravel by doing :

composer create-project laravel/laravel myproject
cd myproject
composer require laravel/sail --dev

php artisan sail:install

But I'm getting as Output :

Sail scaffolding installed successfully. The specified path could not be found

Is there anything that I'm doing wrong here?

YOUSSEF
  • 41
  • 4
  • 3
    Docker? Is this inside a Dockerfile? What version of PHP and Docker are you using? – VonC Jun 05 '23 at 08:53
  • 1
    Does myproject/vendor/bin/sail exist? Does `docker info` run successfully? The "Sail scaffolding installed successfully." output happens right before the Sail installer tries to run `./vendor/bin/sail build`. Also, what operating system? – Eric Woods Jun 06 '23 at 14:57
  • If you install a new `laravel/laravel` project, it will already come with `sail`, so I would do that... – matiaslauriti Jun 11 '23 at 19:36
  • If you are using windows, to run your commands, first open **cmd** in admin mode (in start menu type cmd, right click on the app and select run as administrator). then follow your steps, and at last do ```./vendor/bin/sail up``` in your project. – ali asghar tofighian Jun 12 '23 at 05:24

0 Answers0