質問するログイン新規登録

回答編集履歴

1

エラーメッセージをピックアップ

2018/10/31 08:37

投稿

mather
mather

スコア6765

answer CHANGED
@@ -1,1 +1,14 @@
1
- コンソールで `heroku logs -t` を実行し、リアルタイムにログを監視しながらエラーの出る操作をしてみてください。
1
+ コンソールで `heroku logs -t` を実行し、リアルタイムにログを監視しながらエラーの出る操作をしてみてください。
2
+
3
+ #### 追記(2018-10-31)
4
+
5
+ これが原因かと思われます。エラーメッセージをよく読んで何が問題か検証してみてください。
6
+
7
+ ```
8
+ FATAL -- : [071aab44-52e2-45d4-9684-ff99165c7f4a] ActionController::UnknownFormat (UsersController#new is missing a template for this request format and variant.
9
+ 2018-10-31T02:12:40.166289+00:00 app[web.1]:
10
+ 2018-10-31T02:12:40.166291+00:00 app[web.1]: request.formats: ["text/html"]
11
+ 2018-10-31T02:12:40.166293+00:00 app[web.1]: request.variant: []
12
+ 2018-10-31T02:12:40.166295+00:00 app[web.1]:
13
+ 2018-10-31T02:12:40.166297+00:00 app[web.1]: NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.):
14
+ ```