~$ cd sample ???@??? VirtualBox:~/sample$ composer update Cannot create cache directory /home/tida/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache Cannot create cache directory /home/tida/.composer/cache/files/, or directory is not writable. Proceeding without cache Cannot create cache directory /home/tida/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache > php artisan clear-compiled PHP Warning: require(/home/tida/sample/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /home/tida/sample/bootstrap/autoload.php on line 17 PHP Fatal error: require(): Failed opening required '/home/tida/sample/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/php') in /home/tida/sample/bootstrap/autoload.php on line 17 Script php artisan clear-compiled handling the pre-update-cmd event returned with an error
書籍を見たところ、マイグレーションを使うための過程で、sampleに移動し、composer updateと記載があったのですが、出来ませんでした。
恐らく、composerが所定のデイレクトリにないからではないかと思っているのですが、どうすれば、上記のエラーを解消できますでしょうか。
http://qiita.com/kakijin/items/02364adacf36410f449e
上記URLで、mv composer.phar /usr/local/bin/composer
pathの通った場所へ、移動させるとなっていますが、binのディレクトリを開いたところ、
特に、ファイルが一つも存在しませんでした。これもエラーの原因の一つでしょうか。
usr/local/binを開いけていないのかもしれません。ここに、composer.pharがなかったら、ここにpathを通す意味がないということですよね。ここに何か、制限がかかっていて、中のディレクトリを閲覧出来ないのかもしれません。どうすれば、閲覧しcomposer.pharを移動できますでしょうか。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。