1
sudo php composer.phar update
後,我得到如下:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Installing SOME_PACKAGE (dev-master 6fb0f62)
Cloning SOME_TOKEN
Writing lock file Generating autoload filesUpdating
但是當我做sudo php composer.phar install
我得到
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
是否有人對可能發生什麼有什麼想法?我有一個composer.json, composer.phar and composer.lock
都在同一個文件夾中。