Vue.jsでフロントエンドを、Laravelでバックエンドを実装しながら簡単なTodoアプリ(追加・更新・削除)を作成しております。
Laravelをherokuでデプロイする際、
git init heroku git:remote -a herokuのアプリ名 git add . git commit -m "message" git push heroku master
の順で行いました。
git push heroku master を入力すると下記エラーが出ます。
解決にお力添えいただけますか
文字数の制限上、正常に動いてそうな部分は適当に省略しております。
CLI
1 2remote: - Installing symfony/polyfill-intl-grapheme (v1.22.1): Extracting archive 3remote: - Installing symfony/string (v5.2.6): Extracting archive 4remote: - Installing psr/container (1.1.1): Extracting archive 5remote: - Installing symfony/service-contracts (v2.2.0): Extracting archive 6remote: - Installing symfony/console (v5.2.6): Extracting archive 7remote: - Installing symfony/polyfill-iconv (v1.22.1): Extracting archive 8remote: - Installing egulias/email-validator (2.1.25): Extracting archive 9remote: - Installing swiftmailer/swiftmailer (v6.2.7): Extracting archive 10remote: - Installing ramsey/collection (1.1.3): Extracting archive 11remote: - Installing brick/math (0.9.2): Extracting archive 12remote: - Installing ramsey/uuid (4.1.1): Extracting archive 13remote: - Installing psr/simple-cache (1.0.1): Extracting archive 14remote: - Installing opis/closure (3.6.1): Extracting archive 15remote: - Installing symfony/translation-contracts (v2.3.0): Extracting archive 16remote: - Installing symfony/translation (v5.2.6): Extracting archive 17remote: - Installing nesbot/carbon (2.46.0): Extracting archive 18remote: - Installing monolog/monolog (2.2.0): Extracting archive 19remote: - Installing league/mime-type-detection (1.7.0): Extracting archive 20remote: - Installing league/flysystem (1.1.3): Extracting archive 21remote: - Installing league/commonmark (1.5.8): Extracting archive 22remote: - Installing laravel/framework (v8.35.1): Extracting archive 23remote: - Installing fideloper/proxy (4.4.1): Extracting archive 24remote: - Installing asm89/stack-cors (v2.0.3): Extracting archive 25remote: - Installing fruitcake/laravel-cors (v2.0.3): Extracting archive 26remote: - Installing psr/http-message (1.0.1): Extracting archive 27remote: - Installing psr/http-client (1.0.1): Extracting archive 28remote: - Installing ralouphie/getallheaders (3.0.3): Extracting archive 29remote: - Installing guzzlehttp/psr7 (1.8.1): Extracting archive 30remote: - Installing guzzlehttp/promises (1.4.1): Extracting archive 31remote: - Installing guzzlehttp/guzzle (7.3.0): Extracting archive 32remote: - Installing nikic/php-parser (v4.10.4): Extracting archive 33remote: - Installing dnoegel/php-xdg-base-dir (v0.1.1): Extracting archive 34remote: - Installing psy/psysh (v0.10.7): Extracting archive 35remote: - Installing laravel/tinker (v2.6.1): Extracting archive 36remote: Generating optimized autoload files 37remote: > Illuminate\Foundation\ComposerScripts::postAutoloadDump 38remote: > @php artisan package:discover --ansi 39remote: 40remote: In AppServiceProvider.php line 27: 41remote: 42remote: Class "illuminate\Support\Facades\Schema" not found 43remote: 44remote: 45remote: Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1 46remote: ! WARNING: A post-autoload-dump script terminated with an error 47remote: 48remote: ! ERROR: Dependency installation failed! 49remote: ! 50remote: ! The 'composer install' process failed with an error. The cause 51remote: ! may be the download or installation of packages, or a pre- or 52remote: ! post-install hook (e.g. a 'post-install-cmd' item in 'scripts') 53remote: ! in your 'composer.json'. 54remote: ! 55remote: ! Typical error cases are out-of-date or missing parts of code, 56remote: ! timeouts when making external connections, or memory limits. 57remote: ! 58remote: ! Check the above error output closely to determine the cause of 59remote: ! the problem, ensure the code you're pushing is functioning 60remote: ! properly, and that all local changes are committed correctly. 61remote: ! 62remote: ! For more information on builds for PHP on Heroku, refer to 63remote: ! https://devcenter.heroku.com/articles/php-support 64remote: ! 65remote: ! REMINDER: the following warnings were emitted during the build; 66remote: ! check the details above, as they may be related to this error: 67remote: ! - A post-autoload-dump script terminated with an error 68remote: 69remote: ! Push rejected, failed to compile PHP app. 70remote: 71remote: ! Push failed 72remote: Verifying deploy... 73remote: 74remote: ! Push rejected to damp-cliffs-17169. 75remote: 76To https://git.heroku.com/damp-cliffs-17169.git 77 ! [remote rejected] master -> master (pre-receive hook declined) 78error: failed to push some refs to 'https://git.heroku.com/damp-cliffs-17169.git' 79
回答1件
あなたの回答
tips
プレビュー