質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

Node.js

Node.jsとはGoogleのV8 JavaScriptエンジンを使用しているサーバーサイドのイベント駆動型プログラムです。

Q&A

0回答

766閲覧

Node.jsのアプリケーションをHerokuで公開したい。part2

退会済みユーザー

退会済みユーザー

総合スコア0

Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

Node.js

Node.jsとはGoogleのV8 JavaScriptエンジンを使用しているサーバーサイドのイベント駆動型プログラムです。

0グッド

0クリップ

投稿2020/10/23 04:25

編集2020/10/23 04:30

前提・実現したいこと

herokuででプロイしたらアプリケーションエラーが発生しました・・・。

発生している問題・エラーメッセージ

Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail

イメージ説明

該当のソースコード

heroku activity

-----> Node.js app detected -----> Creating runtime environment NPM_CONFIG_LOGLEVEL=error NODE_ENV=production NODE_MODULES_CACHE=true NODE_VERBOSE=false -----> Installing binaries engines.node (package.json): unspecified engines.npm (package.json): unspecified (use default) Resolving node version 12.x... Downloading and installing node 12.19.0... Using default npm version: 6.14.8 -----> Installing dependencies Prebuild detected (node_modules already exists) Rebuilding any native modules ejs@3.1.5 /tmp/build_3e12644a/node_modules/ejs jake@10.8.2 /tmp/build_3e12644a/node_modules/jake async@0.9.2 /tmp/build_3e12644a/node_modules/async chalk@2.4.2 /tmp/build_3e12644a/node_modules/chalk ansi-styles@3.2.1 /tmp/build_3e12644a/node_modules/ansi-styles color-convert@1.9.3 /tmp/build_3e12644a/node_modules/color-convert color-name@1.1.3 /tmp/build_3e12644a/node_modules/color-name escape-string-regexp@1.0.5 /tmp/build_3e12644a/node_modules/escape-string-regexp supports-color@5.5.0 /tmp/build_3e12644a/node_modules/supports-color 〜略〜 ansi-styles@4.3.0 /tmp/build_3e12644a/node_modules/yargs/node_modules/ansi-styles color-convert@2.0.1 /tmp/build_3e12644a/node_modules/yargs/node_modules/color-convert color-name@1.1.4 /tmp/build_3e12644a/node_modules/yargs/node_modules/color-name escalade@3.1.1 /tmp/build_3e12644a/node_modules/escalade y18n@5.0.4 /tmp/build_3e12644a/node_modules/yargs/node_modules/y18n yargs-parser@20.2.3 /tmp/build_3e12644a/node_modules/yargs/node_modules/yargs-parser Installing any new modules (package.json) audited 182 packages in 1.473s 5 packages are looking for funding run `npm fund` for details found 0 vulnerabilities -----> Build -----> Caching build - node_modules -----> Pruning devDependencies audited 182 packages in 1.522s 5 packages are looking for funding run `npm fund` for details found 0 vulnerabilities -----> Build succeeded! -----> Discovering process types Procfile declares types -> web -----> Compressing... Done: 28.3M -----> Launching... Released v3 https://ancient-river-22188.herokuapp.com/ deployed to Heroku

参考記事

herokuでApplication Errorになってしまった時の対処法

Herokuでデプロイした際にApplication error(エラーコードH10 (App crashed))が出た時の対処法

HerokuでApplicationErrorが発生したときの対処法
HerokuのApplication errorを解決したい (NameErrorとH10エラー)
【Rails】HerokuでApplication errorが出たときの対処法
HerokuにデプロイしたアプリがApplication error

補足情報(FW/ツールのバージョンなど)

mysql
node.js

ここにより詳細な情報を記載してください。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問