Comments (7)
NOTION_API_SECRET is missing from env
とあるように NOTION_API_SECRET
が設定されていないことが原因です(入力間違いではなく)。
Vercel に行き該当の easy-notion-blog プロジェクトの Settings > Environment Variables で NOTION_API_SECRET
が Production および Preview 環境に対して設定されていることをご確認ください。
from easy-notion-blog.
無事解決おめでとうございます\(^o^)/\(^o^)/
t0ns0ku426さんとアルパカ先生のやりとりがすごく勉強になるのでとっても有意義なIssueだなと思いました。
ありがとうございます⭐(´ω`)
from easy-notion-blog.
解決して良かったです。ブログ楽しんでください。
from easy-notion-blog.
!! ちょうど私も昨日同じエラーと格闘してクリアしたところでした(なんという偶然!!)
Next.jsのバージョンアップさせるためのリリース
https://github.com/otoyo/easy-notion-blog/releases/tag/v0.5.0
により、同期後yarnがエラーになったんですよね??
私のリポジトリにその時行ったコマンドのメモと参照記事リンクも記載しています。
herohoro@fa74269#commitcomment-66819784
reactとnext.jsを最新版にしたのちに再度Vercelの機嫌を伺ってみてください!
from easy-notion-blog.
どうも「t0ns0ku426」です。この度はこちらのIssueでのお返事を有り難うございます。
昨日、Vercel にあります自身の該当のblog内の Environment Variables を確認いたしましたところ、
NAMEにNOTION_API_SECRET
・VALUEにDATABASE_ID
と、ひとつに入れてしまっていた事で
NOTION_API_SECRET is missing from env
というエラーログが出てしまう状態になっておりました。
なので、以下のように
DATABASE_ID
とNOTION_API_SECRET
の Environment Variables を
それぞれ別に作成することで、無事にこの問題は解決いたしました。
しかし、また別の問題が発生いたしまして、
(以下スクショ画像掲載)
(※同様に/
・/blog/before/2021-11-03
・/blog/tag/Diary
・/404
・/500
・/blog/my-first-post
が
上記スクショ画像にあります Error occurred prerendering page のエラーが発生いたしました。)
最終的なError: Command "yarn run build" exited with 1
という表示は変わらなかったのですが、
それ以外での自身の対応としてはどのように作業をしたら宜しいでしょうか。
是非ともアドバイスの方、宜しくお願いいたします。
from easy-notion-blog.
#42 で報告された不具合の可能性があります。
リポジトリを最新の状態に更新していただくと修正が入るため、その後再度お試しいただけますでしょうか。
from easy-notion-blog.
早急のお返事をありがとうございます。
先程、改めてVercelでデプロイしてみたところ
無事にエラーログも出ないままデプロイが完了し、自身のNotion Blog
をちゃんと表示することが出来ましたー。
この件についての問題解決までのアドバイスを、本当にありがとうございました。
from easy-notion-blog.
Related Issues (20)
- bookmarkについて HOT 17
- Use metascraper instead of url-metadata
- 新しい記事をnotionで書いたが反映されない HOT 4
- Twitterカードのブックマークが上手く表示されていない HOT 2
- 初期設定時に複製するNotionDBのSupport blocksの記事内の不具合 HOT 2
- ToDo to version 1.0
- テキストに日付またはリマインダーを挿入するとエラーが発生する HOT 1
- Vercelのデプロイで失敗します。助けて欲しいです。 HOT 4
- Unhandled Runtime Error TypeError: Cannot read properties of undefined (reading 'call')となる HOT 5
- Handle errors if an original synced block can't be retrieved HOT 1
- Can i use your code to make my blog website? HOT 2
- Can't you add another language? For example, Korean. HOT 2
- TypeError [ERR_INVALID_URL]: Invalid URL HOT 3
- 相談:image/next により生じる画像高さの余白 HOT 5
- 不具合:記事を更新したら'FUNCTION_INVOCATION_TIMEOUT'になってしまう HOT 3
- ビルドでエラーが出てしまいデプロイできずご教授いただけますと幸いです…! HOT 3
- tag一覧ページの遷移でfirstPostのエラーにより遷移できず HOT 7
- React v16 に依存しているライブラリがあり `npm install` に失敗する HOT 2
- ローカル保存版OgImageがブログ上で表示されない_他は表示確認済み HOT 1
- 同じリポジトリ使用中の記事をbookmarkするとogImageが発行されない HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easy-notion-blog.