Composer could not find a composer.json

后端 未结 11 803
南方客
南方客 2020-12-29 07:52

I tried to install composer via brew per:

In usr/local/bin (which was not on Mavricks and I had to make personally) I did.

brew tap jose

11条回答
  •  灰色年华
    2020-12-29 08:21

    I encountered the same error, and was able to solve it as follows:

    1. composer diagnose to see if something is wrong with the version of composer installed
    2. composer self-update to install the latest version
    3. composer update to update your composer.json file.

提交回复
热议问题