Node.jsのアプリを作ったので、Herokuにあげてようと試みたのですが、deployed to Herokuで、サクセスになったのですが、実際にページを見てみると「An error occurred in the application and your page could not be served. Please try again in a few moments.If you are the application owner, check your logs for details.」の文字が出ておりました。
heroku logsで見てみるとmoduleを読み込めていないと出ておりました。
gitignoreでnodemodulesはあげないようにしていたのですが、Herokuにあげる際はnode_modulesもコミットしないといけないのでしょうか。
(※ローカルではちゃんと動きます。)
あなたの回答
tips
プレビュー