我尝试在作曲家monolog/monolog
上在Ubuntu上安装composer require monolog/monolog
,但出现此错误:
Installation failed, reverting ./composer.json to its original content.
[RuntimeException]
pathToMyProject/vendor/psr/log does not exist and could not be created.
有人知道问题出在哪里吗?
答案 0 :(得分:0)
好吧,我不好,您只需要运行sudo
:p