Composer could not find a composer.json
-
Hi, i have this error when i type "composer update" for example :
Composer could not find a composer.json file in E:\2A_DOCUMENT\OneDrive\Documents\wamp-www\core To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
But if i type only "composer", i got the list of all command.
My default web directory (www) is under the disk E.
All work properly under disk C.
Thanks for you help...
-
Still not working...
If I put the same project on my C:\ disk, the command (composer update) works. But still not on disk E:\
-
Okay the problem is onedrive : https://answers.microsoft.com/en-us/onedrive/forum/odwork-odedit/file-in-onedrive-although-exist-cannot-be-read-by/be018ed6-0bd5-4335-af1e-e448e01f362d?auth=1
Let's use git x)