1,内存不够时,前面加上: COMPOSER_MEMORY_LIMIT=-1 2,如果在windows上运行,提示缺少PHP extension pcntl扩展,后面加上 --ignore-platform-reqs