0
我對Windows 10 (x64)
使用composer
與php 7.1.5
任何命令,我可以更新composer
本身如果當前文件夾爲空,但只要我創建composer.json
爲項目(composer init
),那麼任何composer command
都將失敗並出現相同的錯誤。刪除composer.json
將使該錯誤消失。作曲家產生[JsonSchema 異常 ResourceNotFoundException]執行
[JsonSchema\Exception\ResourceNotFoundException]
file_get_contents(phar://Y:/Programs cache/PHP/):
failed to open stream: phar error: no directory in "phar://Y:/Programs cache/PHP/",
must have at least phar://Y:/Programs cache/PHP// for root directory
(always use full path to a new phar