我试图在我的ubuntu上使用composer require monolog/monolog
安装monolog/monolog
,但我遇到了此错误:
Installation failed, reverting ./composer.json to its original content.
[RuntimeException]
pathToMyProject/vendor/psr/log does not exist and could not be created.
有人知道问题是什么?
好吧,我只需要运行的是 sudo
:p