我使用带有Elastic Beanstalk的Laravel模板创建了一个新的Codestar项目。打开Cloud9 IDE并导航到项目根目录后,似乎工匠文件不正确。
这可能是我的误解,但我看不到任何地方记录了从模板创建后工匠所需的过程。
我已重复此过程2-3次,以确保设置没有损坏。
j_boswood:~/environment/iactionportal (master) $ php artisan list
PHP Warning: require(/home/ec2-user/environment/iactionportal/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /home/ec2-user/environment/iactionportal/bootstrap/autoload.php on line 17
PHP Stack trace:
PHP 1. {main}() /home/ec2-user/environment/iactionportal/artisan:0
PHP 2. require() /home/ec2-user/environment/iactionportal/artisan:16
PHP Fatal error: require(): Failed opening required '/home/ec2-user/environment/iactionportal/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/ec2-user/environment/iactionportal/bootstrap/autoload.php on line 17
PHP Stack trace:
PHP 1. {main}() /home/ec2-user/environment/iactionportal/artisan:0
PHP 2. require() /home/ec2-user/environment/iactionportal/artisan:16
答案 0 :(得分:0)
看来我需要运行curl -sS getcomposer.org/installer | php
来安装作曲家,然后运行php composer.phar install --ignore-platform-reqs
来安装预先配置的供应商项目。 –