Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

In case of errors エラーで動かなくなったら

Hiroki Toyokawa edited this page Nov 11, 2022 · 2 revisions

If some errors are raised and you can't fix them yourself, you can create a GitHub issue with the error logs to get help.
easy-notion-blog がエラーで動かなくなってしまい、自分で解決できないときは下記の方法でエラーログを確認し、 Issue を作成してエラーログを添付してください。

Note that error logs are necessary to find out the bugs.
エラーログは問題解決のために必要不可欠です。

How to check the error logs エラーログの確認方法

Browser's console for the front-end logs ブラウザのコンソール(フロント側のログ)

Open the console in the developer tools in the browser menu.
まずはブラウザの開発者ツールから、コンソールを開きます。

Copy the error logs, they may be colored red, and paste them to an issue.
赤文字でエラーログが表示されていたら、それらをコピーして Issue に添付してください。

Vercel's logs for server-side Vercel のログ(サーバー側のログ)

If you can't find the error logs in the browser console, you may find them on server-side.
ブラウザのコンソールでエラーログが見つからない場合、サーバー側でエラーが起きている可能性が高いです。

Open your easy-notion-blog's project in Vercel's dashboard, go to "Deployments" and select the first build.
Vercel のダッシュボードから easy-notion-blog のプロジェクトを開き、Deployments > 一番上のビルドを選択します。

Scroll down and check the error logs. Error logs are colored red if building was failed.
画面を下までスクロールして、エラーログがあるか確認します。ビルドで失敗している場合は、エラーログが赤く表示されています。

If you can't find the error logs, go to "Functions" tab.
もしエラーログがなければ Functions タブに移動します。

With keeping the tab, open another tab and go to the page that errors are showing such as "500 Internal Server Error".
上記のタブを開いたまま、別のタブでブログを開き、 500 Internal Server Error などエラーになるページに移動します。

You can check the error logs in the keeping tab.
Functions タブの画面に戻るとエラーログが表示されているはずです。