skip to Main Content

enter image description hereI’m following the steps of the official Laravel website, I’m on windows 10, I have PHP 8.2.7 and Composer 2.5.8 , I’m trying to create new project by using "composer create-project laravel/laravel example-app" and getting this result "mkdir(): No such file or directory".
I also have tried the other method provided by Laravel website, which contains 2 commands, first command using "composer global require laravel/installer" which runs great with no errors, then using "laravel new example-app" I get this message "mkdir(): No such file or directory".

I have updated my PHP and Composer, and got the latest version available.

2

Answers


  1. Chosen as BEST ANSWER

    I have missed some steps, like installing "Docker" and Ubuntu for windows, and setting WSL 2 as my default version ! Either that or I must use Xampp. I guess my question should have been like, can I run Laravel without Xampp?

    Should I delete this question?


  2. first of make sure composer can be globally called.

    I remember i had issue with installing laravel. check if all the dependencies are installed to create a laravel project. and if it it will help check your php.ini file and remove the ‘;’ infront of the extension=zip.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search