LoginSignup
laraveluser
@laraveluser (laravel user)

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

CLOUD9 Laravel6 「failed to open stream: No such file or directory」

解決したいこと

CLOUD9でLaravel6をインストールして、「php artisan serve --port=8080」で起動する際に
エラーが表示されて、起動しない

例)
「山崎大助. はじめてのLaravel6入門 ~ AWS Cloud9で学ぶ ~ (p.1). Kindle 版. 」で
Laravelの学習を進めているのですが、サーバー起動でつまづいています。
解決方法を教えてください。

発生している問題・エラー

PHP Warning:  require(/home/ec2-user/environment/test/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /home/ec2-user/environment/test/bootstrap/autoload.php on line 17
PHP Fatal error:  require(): Failed opening required '/home/ec2-user/environment/test/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/ec2-user/environment/test/bootstrap/autoload.php on line 17

自分で試したこと

「autoload.php」の格納場所が「bootstrap」以下になっていたので、変更したところ

image.png

下記のようにループしてしまって、どうしたら良いかわかりません。

image.png

0

No Answers yet.

Your answer might help someone💌