otoyo / easy-notion-blog Goto Github PK
View Code? Open in Web Editor NEW✍️ Let's start your own Notion Blog easily. / Notion Blogを始めましょう!
Home Page: https://easy-notion-blog-otoyo.vercel.app/blog
License: MIT License
✍️ Let's start your own Notion Blog easily. / Notion Blogを始めましょう!
Home Page: https://easy-notion-blog-otoyo.vercel.app/blog
License: MIT License
url-metadata is not maintained for 2 years.
easy-notion-blogを使う人同士で記事をbookmarkした際、画像を取り込めていない事に気づきました。
#91
再びの投稿失礼しますm(_ _)m
記事に埋め込んだbookmarkの画像が発行されない問題...
なかなか難しいことだと思いますのでお時間あるときにでも何か術があれば...と願っておりますm(_ _)m
vercelでの登録を修正後無事にボタンは設置され、
ボタンを押してみると・・・・
「/」が1つ不足した状態で発行されてしまいますm(_ _)m
https://easy-notion-blog-02.vercel.app/blog/v0111_sns_setting
記事内(image block)にその都度サイズが異なり予めサイズを統一できない画像(スクショ)を埋め込むと横長・縦長の画像に異様な余白が生じてしまいます。
予め画像のサイズを指定するのは難しい場合に読者の見やすい画像設定をする方法はありませんか???
下記の手順に従いVercelでデプロイしようとしたんですがエラーになってしまいました
https://github.com/otoyo/easy-notion-blog/blob/main/README.ja.md#%E3%82%AF%E3%82%A4%E3%83%83%E3%82%AF%E3%82%B9%E3%82%BF%E3%83%BC%E3%83%88
ビルド内容は下記のとおりです
10:31:52.794 | Cloning github.com/sugawaraplus/easy-notion-blog (Branch: main, Commit: e370b16) |
---|---|
10:31:53.470 | Cloning completed: 675.105ms |
10:31:53.508 | Analyzing source code... |
10:31:53.709 | Installing build runtime... |
10:31:56.532 | Build runtime installed: 2.822s |
10:31:56.990 | Looking up build cache... |
10:31:57.125 | Build Cache not found |
10:31:57.407 | Installing dependencies... |
10:31:57.745 | yarn install v1.22.17 |
10:31:57.842 | [1/4] Resolving packages... |
10:31:58.344 | [2/4] Fetching packages... |
10:32:31.623 | [3/4] Linking dependencies... |
10:32:31.627 | warning " > @zeit/[email protected]" has incorrect peer dependency "react@^16.8.3". |
10:32:31.627 | warning " > @zeit/[email protected]" has incorrect peer dependency "react-dom@^16.8.3". |
10:32:31.628 | warning " > [email protected]" has unmet peer dependency "prop-types@^15.5.4". |
10:32:31.629 | warning " > [email protected]" has incorrect peer dependency "react@^15.0.0 || ^16.0.0". |
10:32:31.629 | warning " > [email protected]" has incorrect peer dependency "react-dom@^15.0.0 || ^16.0.0". |
10:32:31.630 | warning "react-twitter-embed > [email protected]" has unmet peer dependency "enzyme@^3.0.0". |
10:32:31.630 | warning "react-twitter-embed > [email protected]" has incorrect peer dependency "react@^16.0.0-0". |
10:32:31.630 | warning "react-twitter-embed > [email protected]" has incorrect peer dependency "react-dom@^16.0.0-0". |
10:32:31.631 | warning "react-twitter-embed > enzyme-adapter-react-16 > [email protected]" has incorrect peer dependency "[email protected] || 0.14.x || ^15.0.0-0 || ^16.0.0-0". |
10:32:31.631 | warning "react-twitter-embed > enzyme-adapter-react-16 > [email protected]" has incorrect peer dependency "react@^16.14.0". |
10:32:31.632 | warning "react-twitter-embed > enzyme-adapter-react-16 > enzyme-adapter-utils > [email protected]" has incorrect peer dependency "react@^0.14 || ^15.0.0 || ^16.0.0-alpha". |
10:32:31.632 | warning " > @typescript-eslint/[email protected]" has unmet peer dependency "@typescript-eslint/parser@^5.0.0". |
10:32:49.101 | [4/4] Building fresh packages... |
10:32:49.715 | Done in 51.98s. |
10:32:49.743 | Detected Next.js version: 12.0.10 |
10:32:49.745 | Running "yarn run build" |
10:32:50.115 | yarn run v1.22.17 |
10:32:50.163 | $ node scripts/set-blog-index-cache.js && next build && node scripts/expire-blog-index-cache.js |
10:32:50.480 | Cached 0 posts into /vercel/path0/.blog_index_data |
10:32:51.344 | Attention: Next.js now collects completely anonymous telemetry regarding usage. |
10:32:51.345 | This information is used to shape Next.js' roadmap and prioritize features. |
10:32:51.345 | You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: |
10:32:51.346 | https://nextjs.org/telemetry |
10:32:51.346 | |
10:32:51.400 | info - Checking validity of types... |
10:32:59.707 | info - Creating an optimized production build... |
10:33:19.377 | info - Compiled successfully |
10:33:19.377 | info - Collecting page data... |
10:33:19.808 | Found cached posts. |
10:33:19.813 | |
10:33:19.813 | > Build error occurred |
10:33:19.814 | TypeError: Cannot read property 'Date' of undefined |
10:33:19.815 | at getStaticPaths (/vercel/path0/.next/server/pages/blog/before/[date].js:65:117) |
10:33:19.816 | at processTicksAndRejections (internal/process/task_queues.js:95:5) |
10:33:19.816 | at async buildStaticPaths (/vercel/path0/node_modules/next/dist/build/utils.js:497:31) |
10:33:19.816 | at async /vercel/path0/node_modules/next/dist/build/utils.js:640:119 |
10:33:19.817 | at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:75:20) { |
10:33:19.817 | type: 'TypeError' |
10:33:19.860 | error Command failed with exit code 1. |
10:33:19.861 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
10:33:19.875 | Error: Command "yarn run build" exited with 1 |
他に必要な情報などあれば合わせてご教授願います!
よろしくお願いいたしますー!
T/O
document-headコンポネントのurlOgImageの値に画像リンクを追記後
null部分を以下のように変更しました。
deploy直後にツイッターで確認してみましたが反映されずの状態で投稿させていだたいております。
少し待てば反映されますか?
それとも変更の仕方が間違えている部分がありますでしょうか?
日付またはリマインダーを挿入すると「return null」がないとエラーが出る
パブリッシュでないテストページにて行った。
mentionに対応していないので何も表示しない
https://github.com/nuovotaka/notion-blog
なし
Can i use your code to make my blog website?
改行をして次までの行間を調整しようとすると反映されず、
空ブロックを埋め込むことができません。。。
▼ブログ上では反映されず
該当箇所を見出し変更したのでこのリンクで飛べます
2b92639 辺りでは起きなかったように思うのですが、現在masterの 95da4a5 で yarn dev
を実行したところ、以下のエラーが発生します。
TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:371:5)
at onParseError (node:internal/url:552:9)
at new URL (node:internal/url:628:5)
at Header (webpack-internal:///./src/components/header.tsx:24:17)
at processChild (/Users/user2/code/easy-notion-blog/node_modules/react-dom/cjs/react-dom-server.node.development.js:3353:14)
at resolve (/Users/user2/code/easy-notion-blog/node_modules/react-dom/cjs/react-dom-server.node.development.js:3270:5)
at ReactDOMServerRenderer.render (/Users/user2/code/easy-notion-blog/node_modules/react-dom/cjs/react-dom-server.node.development.js:3753:22)
at ReactDOMServerRenderer.read (/Users/user2/code/easy-notion-blog/node_modules/react-dom/cjs/react-dom-server.node.development.js:3690:29)
at Object.renderToString (/Users/user2/code/easy-notion-blog/node_modules/react-dom/cjs/react-dom-server.node.development.js:4298:27)
at Object.renderPage (/Users/user2/code/easy-notion-blog/node_modules/next/dist/server/render.js:736:46) {
input: '/_next/static/webpack/07ea94bbe1acf6f4.webpack.hot-update.json',
code: 'ERR_INVALID_URL'
}
git clone https://github.com/otoyo/easy-notion-blog
yarn install
yarn dev
※厳密には、forkした https://github.com/nitaking/easy-notion-blog にて fork元の最新化を行った際に事象は発生しました
env.local
に 以下を追加(READMEに加筆)NEXT_PUBLIC_URL=http://localhost:3000/
NEXT_PUBLIC_URL
のデフォルト値を設定私としては 2.
NEXT_PUBLIC_URLのデフォルト値を設定
が適切かな、と思うのでそちらでdraft PRを作成しておきます。対応方針ご相談したいです!
'@dhaiwat10/react-link-preview'がうまく動作していないようです。
Notionでのbookmarkがことごとく表示されません。
どうしたらよろしいですか?
NotionDBのテンプレート内のbookmarkブロックが異なるブロックになっている
bookmarkブロックを表示するために修正するとブログでも表示されました
NotionDBを複製する際、アルパカ先生のいつものアイコンではないアイコンが表示されていましたが大丈夫でしょうか???
(アルパカ先生はアルパカでいてほしい願望ありです....(´・ω・`))
Issuesでの投稿失礼致します。
最近になってから、「easy-notion-blog」を利用させていただいております。
そしてその中で色々と分からないことがありまして、「クイックスタート」内のものでいくつかご質問をさせていただきます。
【質問1】8番目の「ターミナルアプリ」というのはWindowsでいうと「Git Bash」でよろしいでしょうか?
【質問2】9番目の「初期化スクリプトを実行します」という所で...
【DATABASE_ID=<YOUR_DATABASE_ID> NOTION_API_SECRET=<YOUR_NOTION_API_SECRET> ./scripts/init-database.sh】
を「Git Bash」に入力したのですが、以下のようになってしまうのですがどのようにすればよいでしょうか?
【$ DATABASE_ID=<YOUR_DATABASE_ID> NOTION_API_SECRET=<YOUR_NOTION_API_SECRET> ./scripts/init-database.sh
bash: YOUR_DATABASE_ID: No such file or directory】
自身がプログラミング及び、Githubの初心者故に本当の初期の初期段階(まず「初期化スクリプト」という言葉自体等々)で分からないという状態で大変申し訳ないのですが、是非ともご回答の方を宜しくお願い致します。
差分を同期後の異変です。
デモページの「Supported blocks」によると
Heading1~3をh4からh6で作成されていますが、
Notionの見出しはh3までしか残念ながらありません。。。。
念の為Notionの方で「####」でh4を呼び出せるか確認しましたができませんでしたm(_ _)m
【文字装飾】
反映確認 | |
---|---|
テキスト | ⭕ |
段落テキスト | |
ブロック内改行 | |
空ブロック | ⭕ |
・リスト | ⭕ |
・子リスト | |
To-doリスト | |
Numリスト | ⭕ |
Num子リスト | |
color-block | |
color-text | |
h2タイトル | ⭕ |
絵文字 | ⭕ |
画像 | ⭕ |
太字 | ⭕ |
下線文字 | ⭕ |
取り消し線文字 | ⭕ |
コード文字 | ⭕ |
inline-page | |
table | |
toggleリスト | |
子toggleリスト | |
Quote | ⭕ |
callout | ⭕ |
inline-database | |
codeblock | ⭕ |
Web bookmark | |
Video | |
embed | |
mention-page | |
sync | |
twitter embed |
notion上でよく使われる装飾
あったら嬉しい装飾
12/18にプレビューの解説記事を書いていたときは記事一覧まで遷移できていましたが、
Can't you add another language? For example, Korean.
はじめまして、自分のブログに導入してみようと思い検証しています。
プロジェクト自体は React v17 を使用しているが、 @zeit/[email protected]
と [email protected]
が React v16 に依存しており npm install
に失敗する。
プロジェクト内を検索したところ @zeit/react-jsx-parser
については使用箇所が見当たらなかったのですがどこで使用されていますか?最終アップデートも3年前とかなり古いライブラリですので、代替となるライブラリとの入れ替えを検討した方がいいかと思いました。
また react-twitter-embed
については最新のバージョンが 4.0.4 となっていますのでアップデートをした方がいいのではないかと思います。
以前vercel Limitの打開をするためにPRしていただいた herohoro#13 から、
記事内でbookmarkをするとOgImageが表示されない...
といった不具合がありました。
私のリポジトリの影響かと思い、解決できるまで保留にし放置していました。
他の方(八朔さん)も同じ現象になっていたことが分かりました。
問題は本家なのかどうかが判断しかねる状況だったためこちらに投稿させていただきました。
何か解決策がありましたら教えていただけるとありがたいです。
Vercelのデプロイで失敗する。
下記のREADME.jaの手順に従い、Vercelでデプロイ
https://github.com/otoyo/easy-notion-blog/blob/main/README.ja.md
ただし手順の7のみ記述の意味がわからなかったので以下のように行った
Import Third-Party Git Repository →
からhttps://github.com/otoyo/easy-notion-blogを入力してContinue
Create Git Repositoryの中の
Git Scope: 自分のGit acount
Repository Name: easy-notion-blog
としてCreate
すると、環境変数を入力する前にDeployが始まり、失敗に終わりますが、
再度Environment Variablesの
key: NOTION_API_SECRET
Value: database ID
としてsaveしredeploymentするとやはり失敗に終わります。
以下のようになります。
16:18:08.630 | Cloning github.com/ronginooth/easy-notion-blog (Branch: main, Commit: 6dca99f) |
---|---|
16:18:08.636 | Skipping build cache since Vercel CLI used --force option |
16:18:09.187 | Cloning completed: 556.253ms |
16:18:09.575 | Running "vercel build" |
16:18:10.079 | Vercel CLI 28.10.3 |
16:18:10.387 | Installing dependencies... |
16:18:10.747 | yarn install v1.22.17 |
16:18:10.816 | [1/4] Resolving packages... |
16:18:11.098 | [2/4] Fetching packages... |
16:18:31.085 | warning [email protected]: The engine "pnpm" appears to be invalid. |
16:18:31.098 | [3/4] Linking dependencies... |
16:18:31.101 | warning " > [email protected]" has unmet peer dependency "prop-types@^15.8.1". |
16:18:31.101 | warning " > @typescript-eslint/[email protected]" has unmet peer dependency "@typescript-eslint/parser@^5.0.0". |
16:18:52.973 | [4/4] Building fresh packages... |
16:18:54.258 | Done in 43.52s. |
16:18:54.293 | Detected Next.js version: 13.0.7 |
16:18:54.295 | Running "yarn run build" |
16:18:54.564 | yarn run v1.22.17 |
16:18:54.590 | $ node scripts/set-blog-index-cache.js && next build && node scripts/expire-blog-index-cache.js |
16:18:54.849 | @notionhq/client warn: request fail { code: 'unauthorized', message: 'API token is invalid.' } |
16:18:54.851 | /vercel/path0/node_modules/@notionhq/client/build/src/errors.js:162 |
16:18:54.852 | return new APIResponseError({ |
16:18:54.852 | ^ |
16:18:54.852 | |
16:18:54.852 | APIResponseError: API token is invalid. |
16:18:54.852 | at buildRequestError (/vercel/path0/node_modules/@notionhq/client/build/src/errors.js:162:16) |
16:18:54.852 | at Client.request (/vercel/path0/node_modules/@notionhq/client/build/src/Client.js:342:54) |
16:18:54.852 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) |
16:18:54.852 | at async exports.set (/vercel/path0/lib/notion/blog-index-cache.js:59:18) { |
16:18:54.852 | code: 'unauthorized', |
16:18:54.852 | status: 401, |
16:18:54.852 | headers: Headers { |
16:18:54.853 | [Symbol(map)]: [Object: null prototype] { |
16:18:54.853 | date: [ 'Sun, 08 Jan 2023 07:18:54 GMT' ], |
16:18:54.853 | 'content-type': [ 'application/json; charset=utf-8' ], |
16:18:54.853 | 'content-length': [ '87' ], |
16:18:54.853 | connection: [ 'close' ], |
16:18:54.853 | 'set-cookie': [ |
16:18:54.853 | 'notion_browser_id=4c68d1ef-04cc-4345-b363-11ce4098fd8a; Domain=www.notion.so; Path=/; Expires=Mon, 08 Jan 2024 07:18:54 GMT; Secure', |
16:18:54.853 | 'notion_check_cookie_consent=false; Domain=www.notion.so; Path=/; Expires=Mon, 09 Jan 2023 07:18:54 GMT; Secure' |
16:18:54.853 | ], |
16:18:54.853 | 'content-security-policy': [ |
16:18:54.856 | "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://gist.github.com https://apis.google.com https://www.google.com https://www.gstatic.com https://cdn.amplitude.com https://api.amplitude.com https://hkfxbbdzib.notion.so https://widget.intercom.io https://js.intercomcdn.com https://static.zdassets.com https://api.smooch.io\t https://logs-01.loggly.com https://http-inputs-notion.splunkcloud.com https://cdn.segment.com https://analytics.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://embed.typeform.com https://admin.typeform.com https://public.profitwell.com https://static.profitwell.com js.sentry-cdn.com https://js.chilipiper.com https://platform.twitter.com https://cdn.syndication.twimg.com https://accounts.google.com https://www.googletagmanager.com https://www.googleadservices.com https://googleads.g.doubleclick.net https://api-v2.mutinyhq.io https://client-registry.mutinycdn.com https://client.mutinycdn.com https://user-data.mutinycdn.com https://cdn.metadata.io https://platformapi.metadata.io https://d2hrivdxn8ekm8.cloudfront.net https://d1lu3pmaz2ilpx.cloudfront.net https://dvqigh9b7wa32.cloudfront.net https://d330aiyvva2oww.cloudfront.net https://cdn.transcend.io https://cdn01.boxcdn.net https://cdn.sprig.com;connect-src 'self' data: blob: https://msgstore.www.notion.so wss://msgstore.www.notion.so ws://localhost:* ws://127.0.0.1:* https://notion-emojis.s3-us-west-2.amazonaws.com https://s3-us-west-2.amazonaws.com https://s3.us-west-2.amazonaws.com https://notion-production-snapshots-2.s3.us-west-2.amazonaws.com https://cdn.amplitude.com https://api.amplitude.com https://hkfxbbdzib.notion.so https://www.notion.so https://api.embed.ly https://js.intercomcdn.com https://api-iam.intercom.io https://uploads.intercomcdn.com wss://nexus-websocket-a.intercom.io https://ekr.zdassets.com https://ekr.zendesk.com\t https://makenotion.zendesk.com\t https://api.smooch.io\t wss://api.smooch.io\t https://logs-01.loggly.com https://http-inputs-notion.splunkcloud.com https://cdn.segment.com https://api.segment.io https://analytics.pgncs.notion.so https://api.pgncs.notion.so https://o324374.ingest.sentry.io https://checkout.stripe.com https://js.stripe.com https://cdn.contentful.com https://preview.contentful.com https://images.ctfassets.net https://www2.profitwell.com https://tracking.chilipiper.com https://api.chilipiper.com https://api.unsplash.com https://boards-api.greenhouse.io https://accounts.google.com https://oauth2.googleapis.com https://www.googletagmanager.com https://analytics.google.com https://www.googleadservices.com https://googleads.g.doubleclick.net https://region1.google-analytics.com https://region1.analytics.google.com https://www.google-analytics.com https://api-v2.mutinyhq.io https://client-registry.mutinycdn.com https://client.mutinycdn.com https://user-data.mutinycdn.com https://cdn.metadata.io https://platformapi.metadata.io https://d2hrivdxn8ekm8.cloudfront.net https://d1lu3pmaz2ilpx.cloudfront.net https://dvqigh9b7wa32.cloudfront.net https://d330aiyvva2oww.cloudfront.net https://cdn.transcend.io https://api.statuspage.io https://pgncd.notion.so https://api.statsig.com https://statsigapi.net https://exp.notion.so https://file.notion.so https://api.box.com https://.mux.com https://api.sprig.com https://storage.googleapis.com https://cdn.sprig.com https://cdn.userleap.com;font-src 'self' data: https://cdnjs.cloudflare.com https://js.intercomcdn.com https://cdn01.boxcdn.net;img-src 'self' data: blob: https: https://platform.twitter.com https://syndication.twitter.com https://pbs.twimg.com https://ton.twimg.com https://region1.google-analytics.com https://region1.analytics.google.com https://.mux.com;style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com https://github.githubassets.com https://js.chilipiper.com https://platform.twitter.com https://ton.twimg.com https://accounts.google.com https://cdn.transcend.io https://cdn01.boxcdn.net;media-src blob: https: http: https://file.notion.so https://*.mux.com;worker-src blob:;frame- |
16:18:54.856 | ], |
16:18:54.856 | 'x-dns-prefetch-control': [ 'off' ], |
16:18:54.857 | 'x-frame-options': [ 'SAMEORIGIN' ], |
16:18:54.857 | 'strict-transport-security': [ 'max-age=5184000; includeSubDomains' ], |
16:18:54.857 | 'x-download-options': [ 'noopen' ], |
16:18:54.857 | 'x-content-type-options': [ 'nosniff' ], |
16:18:54.857 | 'x-permitted-cross-domain-policies': [ 'none' ], |
16:18:54.857 | 'referrer-policy': [ 'strict-origin-when-cross-origin' ], |
16:18:54.857 | 'x-xss-protection': [ '0' ], |
16:18:54.857 | etag: [ 'W/"57-QCRLT3IovYEW+CkwyJQlFtiXiG8"' ], |
16:18:54.857 | vary: [ 'Accept-Encoding' ], |
16:18:54.857 | 'cf-cache-status': [ 'DYNAMIC' ], |
16:18:54.857 | server: [ 'cloudflare' ], |
16:18:54.857 | 'cf-ray': [ '7863297048a82c90-ORD' ] |
16:18:54.857 | } |
16:18:54.857 | }, |
16:18:54.857 | body: '{"object":"error","status":401,"code":"unauthorized","message":"API token is invalid."}' |
16:18:54.858 | } |
16:18:54.858 | |
16:18:54.858 | Node.js v18.12.1 |
16:18:54.871 | error Command failed with exit code 1. |
16:18:54.871 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
16:18:54.892 | Error: Command "yarn run build" exited with 1 |
他に必要な情報などあれば合わせてご教授願います!
よろしくお願いいたしますー!
npm run devした際に下記のエラーが表示される。
Unhandled Runtime Error
TypeError: Cannot read properties of undefined (reading 'call')
README.jaの手順通りに実行(1/10時点)
https://github.com/otoyo/easy-notion-blog/blob/main/README.ja.md
下記はエラーメッセージの全文になります。
Unhandled Runtime Error
TypeError: Cannot read properties of undefined (reading 'call')
Call Stack
options.factory
file:///C:/www_dev/notion-blog-test/easy-notion-blog/.next/static/chunks/webpack.js (722:31)
__webpack_require__
/_next/static/chunks/webpack.js (37:33)
fn
file:///C:/www_dev/notion-blog-test/easy-notion-blog/.next/static/chunks/webpack.js (377:21)
require
node_modules\next\dist\client\link.js (7:31)
./node_modules/next/dist/client/link.js
file:///C:/www_dev/notion-blog-test/easy-notion-blog/.next/static/chunks/app/layout.js (126:1)
options.factory
/_next/static/chunks/webpack.js (722:31)
__webpack_require__
file:///C:/www_dev/notion-blog-test/easy-notion-blog/.next/static/chunks/webpack.js (37:33)
fn
/_next/static/chunks/webpack.js (377:21)
__webpack_require__
node_modules\next\dist\client\app-index.js (26:16)
requireModule
node_modules\next\dist\compiled\react-server-dom-webpack\client.js (142:0)
initializeModuleChunk
node_modules\next\dist\compiled\react-server-dom-webpack\client.js (427:0)
readChunk
node_modules\next\dist\compiled\react-server-dom-webpack\client.js (252:0)
mountLazyComponent
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (23079:0)
beginWork
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (24792:0)
beginWork$1
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (32185:0)
performUnitOfWork
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (31082:0)
workLoopSync
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (30891:0)
renderRootSync
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (30856:0)
recoverFromConcurrentError
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (30109:0)
performConcurrentWorkOnRoot
node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (29996:0)
workLoop
node_modules\next\dist\compiled\scheduler\index.js (10:3921)
flushWork
node_modules\next\dist\compiled\scheduler\index.js (10:3629)
MessagePort.performWorkUntilDeadline
node_modules\next\dist\compiled\scheduler\index.js (10:1811)
過去に以下でも同じような課題が挙がっていたため、
「.next」ディレクトリを削除する方法を試しましたが改善されませんでした。
#19
ご教示いただけると助かります!
twitterのカードも変更されているのでテストしたところ、新しい記事をNotion側で書いたがvercel側が反応しない。
Notion側ではPublishedにしているのですが。。。
次のページの表示がされなくなりました。
今回のバージョンアップを同期後に生じた不具合です。
Twitter ブックマークが画像付きで表示されない。
仕様でしょうか?
easy-notion-blog.nuovotaka.com
の
https://easy-notion-blog.nuovotaka.com/blog/twitter-card
Functions の内容
[GET] /_next/data/j1dAM7xsus_wvqTtJ4HOY/blog/sick-egpa-part35.json
11:24:25:15
[GET] /_next/data/j1dAM7xsus_wvqTtJ4HOY/blog/smartphonepoach2-leathercraft.json
11:24:24:68
[GET] /_next/data/j1dAM7xsus_wvqTtJ4HOY/blog/tag/blog.json
11:24:24:58
[GET] /_next/data/j1dAM7xsus_wvqTtJ4HOY/blog.json
11:24:24:58
[GET] /api/url-metadata?url=https://twitter.com/nuovotaka/status/1559998318939439108?s=21&t=rwsON9JfEczxmXI7z1F5eA
11:24:24:34
start: 1660789464533,
socket: 1660789464533,
lookup: 1660789464533,
connect: 1660789464591,
secureConnect: 1660789464607,
upload: 1660789464608,
response: 1660789464628,
end: 1660789464629,
error: undefined,
abort: undefined,
phases: {
wait: 0,
dns: 0,
tcp: 58,
tls: 16,
request: 1,
firstByte: 20,
download: 1,
total: 96
}
},
options: {
request: undefined,
agent: { http: undefined, https: undefined, http2: undefined },
h2session: undefined,
decompress: true,
timeout: {
connect: undefined,
lookup: undefined,
read: undefined,
request: undefined,
response: undefined,
secureConnect: undefined,
send: undefined,
socket: undefined
},
prefixUrl: '',
body: undefined,
form: undefined,
json: undefined,
cookieJar: undefined,
ignoreInvalidCookies: false,
searchParams: undefined,
dnsLookup: undefined,
dnsCache: undefined,
context: {},
hooks: {
init: [],
beforeRequest: [],
beforeError: [],
beforeRedirect: [],
beforeRetry: [],
afterResponse: []
},
followRedirect: true,
maxRedirects: 10,
cache: undefined,
throwHttpErrors: true,
username: '',
password: '',
http2: false,
allowGetBody: false,
headers: {
'user-agent': 'got (https://github.com/sindresorhus/got)',
'accept-encoding': 'gzip, deflate, br'
},
methodRewriting: false,
dnsLookupIpVersion: undefined,
parseJson: [Function: parse],
stringifyJson: [Function: stringify],
retry: {
limit: 2,
methods: [ 'GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE' ],
statusCodes: [
408, 413, 429, 500,
502, 503, 504, 521,
522, 524
],
errorCodes: [
'ETIMEDOUT',
'ECONNRESET',
'EADDRINUSE',
'ECONNREFUSED',
'EPIPE',
'ENOTFOUND',
'ENETUNREACH',
'EAI_AGAIN'
],
maxRetryAfter: undefined,
calculateDelay: [Function: calculateDelay],
backoffLimit: Infinity,
noise: 100
},
localAddress: undefined,
method: 'GET',
createConnection: undefined,
cacheOptions: {
shared: undefined,
cacheHeuristic: undefined,
immutableMinTimeToLive: undefined,
ignoreCargoCult: undefined
},
https: {
alpnProtocols: undefined,
rejectUnauthorized: undefined,
checkServerIdentity: undefined,
certificateAuthority: undefined,
key: undefined,
certificate: undefined,
passphrase: undefined,
pfx: undefined,
ciphers: undefined,
honorCipherOrder: undefined,
minVersion: undefined,
maxVersion: undefined,
signatureAlgorithms: undefined,
tlsSessionLifetime: undefined,
dhparam: undefined,
ecdhCurve: undefined,
certificateRevocationLists: undefined
},
encoding: undefined,
resolveBodyOnly: false,
isStream: false,
responseType: 'text',
url: URL {
href: 'https://twitter.com/nuovotaka/status/1559998318939439108?s=21',
origin: 'https://twitter.com',
protocol: 'https:',
username: '',
password: '',
host: 'twitter.com',
hostname: 'twitter.com',
port: '',
pathname: '/nuovotaka/status/1559998318939439108',
search: '?s=21',
searchParams: URLSearchParams { 's' => '21' },
hash: ''
},
pagination: {
transform: [Function: transform],
paginate: [Function: paginate],
filter: [Function: filter],
shouldContinue: [Function: shouldContinue],
countLimit: Infinity,
backoff: 0,
requestLimit: 10000,
stackAllItems: false
},
setHost: true,
maxHeaderSize: undefined,
signal: undefined,
enableUnixSockets: true
}
}
Notionでtwitterを埋め込んだモノの下にブックマークがあります。そのブックも表示させたい。
twitter ブックマークの表示(今回は画像付き)
・エラーが発生している画面のスクリーンショットを添付します。
もし Fork した easy-notion-blog でエラーが発生している場合には、あなたのリポジトリの URL とブランチ名を記載します。
https://github.com/nuovotaka/easy-notion-blog
main ブランチ #111
他に伝えておくべき追加情報があれば記述します。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.