PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, February 9, 2022

[FIXED] ErrorException chdir(): No such file or directory (errno 2) when trying to create a laravel project

 February 09, 2022     composer-php, laravel     No comments   

Issue

When I try to create a new Laravel project I get this error:

c:\xampp\htdocs>composer create-project --prefer-dist laravel/laravel blog
Creating a "laravel/laravel" project at "./blog"
Installing laravel/laravel (v8.4.0)
  - Installing laravel/laravel (v8.4.0): Extracting archive
Created project in C:\xampp\htdocs\blog


  [ErrorException]
  chdir(): No such file or directory (errno 2)

I'm using XAMPP by the way.


Solution

Please try this:

composer self-update


Answered By - RafaelCorreia
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing