我試圖用命令"(php bin/console sylius:install")
安裝Sylius(Symfony的),但它給下面的錯誤:錯誤安裝Sylius: 「PHP致命錯誤:要求():打開失敗需要autoload.php」
PHP Warning: require(C:\xampp\htdocs\acme\bin/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\acme\bin\console on line 16
Warning: require(C:\xampp\htdocs\acme\bin/../vendor/autoload.php): failed to open stream: No such file or directory in C:\xampp\htdocs\acme\bin\console on line 16
PHP Fatal error: require(): Failed opening required 'C:\xampp\htdocs\acme\bin/../vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\acme\bin\console on line 16
Fatal error: require(): Failed opening required 'C:\xampp\htdocs\acme\bin/../vendor/autoload.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\acme\bin\console on line 16
並作曲家創建項目的命令被正確完成了嗎?最簡單的方法是嘗試在新目錄中創建項目 –