otoyo / astro-notion-blog Goto Github PK
View Code? Open in Web Editor NEW🚀 Begin building your very own Notion Blog with Astro.
Home Page: https://astro-notion-blog.pages.dev/
License: MIT License
🚀 Begin building your very own Notion Blog with Astro.
Home Page: https://astro-notion-blog.pages.dev/
License: MIT License
a
タグに data-type="image"
を指定することで解決できそう。
https://fslightbox.com/javascript/documentation/types
コールアウトの絵文字(アイコン)を削除する方法を偶然発見し、削除したままビルドしたところエラーが発生した。
コールアウト内のアイコンではなく、左の6つの点からアイコンのメニューを開くと削除の項目がありました。
これはデスクトップ版ですが、ブラウザ版でも同様の挙動です。
絵文字が空であるときには、デフォルトでページメンションのアイコンと似たものが表示されているようです。
しかし、わざわざNotionで絵文字を空にするので、astro-notion-blog上では絵文字とアイコンのスペースが無い、ただの色付きテキストボックスみたいなものになったら良いなと思います。
ビルド高速化機能の検証にご参加いただきありがとうございます。
この機能は astro-notin-blog にとって重要で複雑な機能であるため、リリース前に検証したいと思っています。
検証にご協力いただける方は、後述の手順を実行し最後に下記をご報告ください。
2023/2/3(金)まで(予定)
ローカルの開発環境はすでにあるものとします。
ブランチ feature-speedup-build
#21 をローカルにチェックアウトします。
yarn install && yarn nx g @nrwl/nx-cloud:init
nx.json
を開き accessToken
の値をメモしますnx.json
から accessToken
を削除しますgit checkout -- nx.json
accessToken
を入力し "Connect The Workspace" を選択しますNOTION_API_SECRET
が正しくセットされていることを確認しますecho $NOTION_API_SECRET
設定されていなければ下記のように設定します。
export NOTION_API_SECRET=<YOUR_NOTION_API_SECRET>
DATABASE_ID
が Cloudflare Pages のビルド環境と同じであることを確認しますecho $DATABASE_ID
異なる場合は同じ値を設定します。
export DATABASE_ID=<YOUR_DATABASE_ID>
accessToken
を環境変数 NX_CLOUD_ACCESS_TOKEN
に設定し、コマンドを実行してキャッシュを生成します
NX_CLOUD_ACCESS_TOKEN
を環境変数にセットし、正しくセットされていることを確認します。
export NX_CLOUD_ACCESS_TOKEN=<メモしたaccessToken>
echo $NX_CLOUD_ACCESS_TOKEN
キャッシュを生成します。
yarn cache:fetch
last_edited_time
を見て以降は自動で更新されるため、この操作は再度行う必要はありませんyarn cache:fetch
yarn build:cached
NX_CLOUD_ACCESS_TOKEN
として Production と Preview の両方に追加しますnpm run build:cached
npm run build
に戻し、ローカルで書きコマンドを実行してキャッシュを削除しますyarn cache:purge
利用させていただいております。
動作自体は問題なくできているのですが、
VSCode + Astro公式拡張 で開発をしていると型の指定漏れ、型の不一致、インポートの記述、必要な引数の指定漏れ等で大量のエラーが発生してしまいます。
添付画像(一部)
エラーが発生しないようにしたい
過去Closedされたissueに同じようなものがあったようにも見受けられるのですが
Cannot read properties of undefined (reading 'title')
になり、TableOfContents
以外でも発生(column_list
やlink_preview
など)しております… ><
Notion DB側の問題の可能性もあるので自分でも引き続き調べてみます👀
.env
を入れて、yarn install && yarn dev
error Cannot read properties of undefined (reading 'title')
File:
/Users/harunon/astro/astro-notion-blog/src/lib/notion/client.ts:458:22
Code:
457 | block.TableOfContents = tableOfContents
> 458 | }
| ^
459 | break
460 | }
Stacktrace:
TypeError: Cannot read properties of undefined (reading 'title')
at _validPageObject (/src/lib/notion/client.ts:458:22)
at eval (/src/lib/notion/client.ts:50:42)
at Array.filter (<anonymous>)
at getAllPosts (/src/lib/notion/client.ts:50:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Module.getAllTags (/src/lib/notion/client.ts:171:20)
at async Promise.all (index 2)
at async eval (/Users/harunon/astro/astro-notion-blog/src/pages/blog/index.astro:38:53)
at async renderPage (file:///Users/harunon/astro/astro-notion-blog/node_modules/astro/dist/runtime/server/render/page.js:89:30)
at async renderPage (file:///Users/harunon/astro/astro-notion-blog/node_modules/astro/dist/core/render/core.js:86:20)
04:33:34 AM [serve] 404 /sw.js (x2)
/blog
に正常に表示される
When file blocks are retrieved from Nx cache, their URL (S3 signed URL) might be already expired.
So URLs must be refreshed with reloading the blocks since #49.
However, the fetching logic is time-consuming so it needs to be faster.
src/pages/api/blocks/[id].ts
GET /api/blocks/:id
as a requestsrc/components/notion-blocks/File.astro
data-expiry-time="2023-02-13T..."
/api/blocks/[id].ts
src/components/notion-blocks/File.astro
何も変更していません。
Cloudflareでデプロイしてみました。エラー出ました。
クローンしてCloudflareでデプロイしてみましたがエラー出ました。
デプロイまでできており公開された URL で不具合が確認できる場合には URL も記載します。
2023-01-22T05:11:57.42198Z Cloning repository...
2023-01-22T05:11:58.282906Z From https://github.com/nuovotaka/astro-notion-blog
2023-01-22T05:11:58.283506Z * branch 429c0a02fa515c7f342216afe42efe73e0080631 -> FETCH_HEAD
2023-01-22T05:11:58.283718Z
2023-01-22T05:11:58.338632Z HEAD is now at 429c0a0 initial
2023-01-22T05:11:58.339157Z
2023-01-22T05:11:58.483519Z
2023-01-22T05:11:58.51169Z Success: Finished cloning repository files
2023-01-22T05:11:59.203908Z Installing dependencies
2023-01-22T05:11:59.215826Z Python version set to 2.7
2023-01-22T05:12:02.73571Z Downloading and installing node v16.13.0...
2023-01-22T05:12:03.159275Z Downloading https://nodejs.org/dist/v16.13.0/node-v16.13.0-linux-x64.tar.xz...
2023-01-22T05:12:03.580235Z Computing checksum with sha256sum
2023-01-22T05:12:03.707132Z Checksums matched!
2023-01-22T05:12:07.90891Z Now using node v16.13.0 (npm v8.1.0)
2023-01-22T05:12:08.301923Z Started restoring cached build plugins
2023-01-22T05:12:08.315485Z Finished restoring cached build plugins
2023-01-22T05:12:08.810047Z Attempting ruby version 2.7.1, read from environment
2023-01-22T05:12:12.433213Z Using ruby version 2.7.1
2023-01-22T05:12:12.796385Z Using PHP version 5.6
2023-01-22T05:12:12.960641Z 5.2 is already installed.
2023-01-22T05:12:12.987387Z Using Swift version 5.2
2023-01-22T05:12:12.988017Z Started restoring cached node modules
2023-01-22T05:12:13.003762Z Finished restoring cached node modules
2023-01-22T05:12:13.011566Z Started restoring cached yarn cache
2023-01-22T05:12:13.025801Z Finished restoring cached yarn cache
2023-01-22T05:12:13.045552Z Installing yarn at version 1.22.4
2023-01-22T05:12:13.064391Z �[37mInstalling Yarn!�[0m
2023-01-22T05:12:13.0647Z �[36m> Downloading tarball...�[0m
2023-01-22T05:12:13.108244Z
2023-01-22T05:12:13.108592Z [1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.pUAplRQmvC
2023-01-22T05:12:13.109202Z % Total % Received % Xferd Average Speed Time Time Time Current
2023-01-22T05:12:13.109761Z Dload Upload Total Spent Left Speed
2023-01-22T05:12:13.381239Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 79 100 79 0 0 290 0 --:--:-- --:--:-- --:--:-- 291
2023-01-22T05:12:13.516413Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 93 100 93 0 0 228 0 --:--:-- --:--:-- --:--:-- 15500
2023-01-22T05:12:13.920563Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2023-01-22T05:12:14.250068Z
100 1215k 100 1215k 0 0 1065k 0 0:00:01 0:00:01 --:--:-- 1065k
2023-01-22T05:12:14.250371Z
2023-01-22T05:12:14.250669Z [2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.pUAplRQmvC.asc
2023-01-22T05:12:14.285605Z
100 83 100 83 0 0 2406 0 --:--:-- --:--:-- --:--:-- 2406
2023-01-22T05:12:14.288292Z
100 96 100 96 0 0 2583 0 --:--:-- --:--:-- --:--:-- 2583
2023-01-22T05:12:14.29765Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2023-01-22T05:12:14.376502Z
100 1028 100 1028 0 0 8198 0 --:--:-- --:--:-- --:--:-- 8198
2023-01-22T05:12:14.42374Z �[36m> Verifying integrity...�[0m
2023-01-22T05:12:14.468009Z gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA
2023-01-22T05:12:14.474165Z gpg: Good signature from "Yarn Packaging [email protected]"
2023-01-22T05:12:14.476644Z gpg: Note: This key has expired!
2023-01-22T05:12:14.476924Z Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 0310
2023-01-22T05:12:14.477109Z Subkey fingerprint: 6D98 490C 6F1A CDDD 448E 4595 4F77 6793 6947 5BAA
2023-01-22T05:12:14.477738Z �[32m> GPG signature looks good�[0m
2023-01-22T05:12:14.477962Z �[36m> Extracting to ~/.yarn...�[0m
2023-01-22T05:12:14.572095Z �[36m> Adding to $PATH...�[0m
2023-01-22T05:12:14.599738Z �[36m> We've added the following to your /opt/buildhome/.bashrc
2023-01-22T05:12:14.600053Z > If this isn't the profile of your current shell then please add the following to your correct profile:
2023-01-22T05:12:14.600223Z
2023-01-22T05:12:14.600343Z export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
2023-01-22T05:12:14.600458Z �[0m
2023-01-22T05:12:14.986451Z �[32m> Successfully installed Yarn 1.22.4! Please open another terminal where the yarn
command will now be available.�[0m
2023-01-22T05:12:15.389015Z Installing NPM modules using Yarn version 1.22.4
2023-01-22T05:12:16.096626Z yarn install v1.22.4
2023-01-22T05:12:16.184024Z [1/4] Resolving packages...
2023-01-22T05:12:16.43334Z [2/4] Fetching packages...
2023-01-22T05:12:31.832887Z warning [email protected]: The engine "pnpm" appears to be invalid.
2023-01-22T05:12:31.834802Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T05:12:31.83515Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.835968Z info @esbuild/[email protected]: The platform "linux" is incompatible with this module.
2023-01-22T05:12:31.836203Z info "@esbuild/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.836342Z info @esbuild/[email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T05:12:31.836469Z info @esbuild/[email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T05:12:31.836602Z info "@esbuild/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.836758Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T05:12:31.836874Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.836982Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T05:12:31.837098Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.837216Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T05:12:31.837352Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T05:12:31.837463Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.837589Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T05:12:31.837696Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.837811Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T05:12:31.837917Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T05:12:31.838036Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.838154Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T05:12:31.838262Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.838373Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T05:12:31.838489Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T05:12:31.838601Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.838707Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T05:12:31.838816Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.838923Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T05:12:31.839029Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.839143Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T05:12:31.839259Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.839374Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T05:12:31.839495Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.839608Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T05:12:31.839721Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.839826Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T05:12:31.839931Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.840046Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T05:12:31.840168Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.840288Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T05:12:31.840398Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.840514Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T05:12:31.840625Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.840732Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T05:12:31.840839Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.840955Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T05:12:31.841067Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T05:12:31.841181Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.841288Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T05:12:31.841405Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T05:12:31.841526Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T05:12:31.850264Z [3/4] Linking dependencies...
2023-01-22T05:12:31.852252Z warning " > @astrojs/[email protected]" has unmet peer dependency "@types/react@^17.0.50 || ^18.0.21".
2023-01-22T05:12:31.852679Z warning " > @astrojs/[email protected]" has unmet peer dependency "@types/react-dom@^17.0.17 || ^18.0.6".
2023-01-22T05:12:31.854492Z warning "@typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
2023-01-22T05:12:42.115097Z [4/4] Building fresh packages...
2023-01-22T05:12:43.577705Z Done in 27.49s.
2023-01-22T05:12:43.607966Z NPM modules installed using Yarn
2023-01-22T05:12:43.900672Z Installing Hugo 0.54.0
2023-01-22T05:12:44.592211Z Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
2023-01-22T05:12:44.596157Z Started restoring cached go cache
2023-01-22T05:12:44.615749Z Finished restoring cached go cache
2023-01-22T05:12:44.757346Z go version go1.14.4 linux/amd64
2023-01-22T05:12:44.773234Z go version go1.14.4 linux/amd64
2023-01-22T05:12:44.777001Z Installing missing commands
2023-01-22T05:12:44.777263Z Verify run directory
2023-01-22T05:12:44.777404Z Executing user command: npm run build
2023-01-22T05:12:45.227739Z
2023-01-22T05:12:45.228096Z > [email protected] build
2023-01-22T05:12:45.228257Z > astro build
2023-01-22T05:12:45.228388Z
2023-01-22T05:12:47.230115Z 05:12:47 AM [build] output target: static
2023-01-22T05:12:47.230546Z 05:12:47 AM [build] Collecting build info...
2023-01-22T05:12:47.231764Z 05:12:47 AM [build] Completed in 27ms.
2023-01-22T05:12:47.232828Z 05:12:47 AM [build] Building static entrypoints...
2023-01-22T05:12:49.561353Z 05:12:49 AM [build] Completed in 2.33s.
2023-01-22T05:12:49.561725Z
2023-01-22T05:12:49.56187Z building client
2023-01-22T05:12:55.586029Z
2023-01-22T05:12:55.586354Z (!) Some chunks are larger than 500 KiB after minification. Consider:
2023-01-22T05:12:55.586519Z - Using dynamic import() to code-split the application
2023-01-22T05:12:55.586643Z - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/guide/en/#outputmanualchunks
2023-01-22T05:12:55.586756Z - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
2023-01-22T05:12:55.586871Z Completed in 6.02s.
2023-01-22T05:12:55.587064Z
2023-01-22T05:12:55.587289Z
2023-01-22T05:12:55.58743Z generating static routes
2023-01-22T05:12:56.445544Z ▶ src/pages/index.astro
2023-01-22T05:12:56.459601Z └─ /index.html (+14ms)
2023-01-22T05:12:56.459986Z ▶ src/pages/blog/index.astro
2023-01-22T05:12:57.815651Z error Cannot read properties of undefined (reading 'files')
2023-01-22T05:12:57.816139Z File:
2023-01-22T05:12:57.816322Z /opt/buildhome/repo/node_modules/astro/dist/runtime/server/render/page.js:89:30
2023-01-22T05:12:57.816445Z Code:
2023-01-22T05:12:57.816573Z 88 | }
2023-01-22T05:12:57.816699Z > 89 | const factoryReturnValue = await componentFactory(result, props, children);
2023-01-22T05:12:57.81681Z | ^
2023-01-22T05:12:57.816919Z 90 | const factoryIsHeadAndContent = isHeadAndContent(factoryReturnValue);
2023-01-22T05:12:57.817029Z 91 | if (isRenderTemplateResult(factoryReturnValue) || factoryIsHeadAndContent) {
2023-01-22T05:12:57.817165Z 92 | await bufferHeadContent(result);
2023-01-22T05:12:57.817322Z Stacktrace:
2023-01-22T05:12:57.817492Z TypeError: Cannot read properties of undefined (reading 'files')
2023-01-22T05:12:57.817655Z at _buildPost (file:///opt/buildhome/repo/dist/entry.mjs?time=1674364375586:2360:39)
2023-01-22T05:12:57.817783Z at file:///opt/buildhome/repo/dist/entry.mjs?time=1674364375586:1953:92
2023-01-22T05:12:57.817898Z at Array.map ()
2023-01-22T05:12:57.818011Z at getAllPosts (file:///opt/buildhome/repo/dist/entry.mjs?time=1674364375586:1953:72)
2023-01-22T05:12:57.818129Z at processTicksAndRejections (node:internal/process/task_queues:96:5)
2023-01-22T05:12:57.818237Z at async getNumberOfPages (file:///opt/buildhome/repo/dist/entry.mjs?time=1674364375586:2001:20)
2023-01-22T05:12:57.818347Z at async Promise.all (index 3)
2023-01-22T05:12:57.818456Z at async file:///opt/buildhome/repo/dist/entry.mjs?time=1674364375586:2609:53
2023-01-22T05:12:57.818586Z at async renderPage (file:///opt/buildhome/repo/node_modules/astro/dist/runtime/server/render/page.js:89:30)
2023-01-22T05:12:57.818706Z at async renderPage (file:///opt/buildhome/repo/node_modules/astro/dist/core/render/core.js:86:20)
2023-01-22T05:12:57.818825Z
2023-01-22T05:12:57.858695Z Failed: build command exited with code: 1
2023-01-22T05:12:58.739072Z Failed: an internal error occurred
もし Fork した easy-notion-blog でエラーが発生している場合には、あなたのリポジトリの URL とブランチ名を記載します。
記事のタイトルが途中で途切れる
同様のタイトルで今までも記事は書いているが、発生するときとしないときがあります。
発生した場合、10回以上タイトルを消したり、書いたり空白入れたり、削除したりすると途切れず正常にタイトルが表示されるようになる。
記事が途切れず正しく表示されること
なし
notion で作成した Web Bookmark に日本語が含まれていると Cloudflare で build した際に文字化けする
notion で Web Bookmark を作成する(この時点では文字化けしていない)
localhost で確認する(画像は表示されなくなってしまうが文字化けはしていない)
Cloudflare でデプロイ後(文字化けしてしまっている)
不具合が発生しているサイト:https://kromiii.info/posts/afraid-from-freedom/
ブラウザの開発者コンソールでのログはなし
Cloudflare のログ
2023-08-18T15:17:15.204733Z Cloning repository...
2023-08-18T15:17:16.056168Z From https://github.com/kromiii/astro-notion-blog
2023-08-18T15:17:16.056906Z * branch b0e916c82680ede3ed1eb12239cfcd49d20ef20c -> FETCH_HEAD
2023-08-18T15:17:16.0571Z
2023-08-18T15:17:16.131777Z HEAD is now at b0e916c change deploy schedule
2023-08-18T15:17:16.13244Z
2023-08-18T15:17:16.247008Z
2023-08-18T15:17:16.280562Z Success: Finished cloning repository files
2023-08-18T15:17:16.93758Z Detected the following tools from environment: [email protected], [email protected]
2023-08-18T15:17:16.938343Z Installing nodejs 18.16.0
2023-08-18T15:17:18.074075Z Trying to update node-build... ok
2023-08-18T15:17:18.363367Z Downloading node-v18.16.0-linux-x64.tar.gz...
2023-08-18T15:17:18.363928Z -> https://nodejs.org/dist/v18.16.0/node-v18.16.0-linux-x64.tar.gz
2023-08-18T15:17:20.138495Z Installing node-v18.16.0-linux-x64...
2023-08-18T15:17:21.699011Z Installed node-v18.16.0-linux-x64 to /opt/buildhome/.asdf/installs/nodejs/18.16.0
2023-08-18T15:17:21.699592Z
2023-08-18T15:17:23.176099Z Installing project dependencies: npm clean-install --progress=false
2023-08-18T15:17:31.381227Z npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
2023-08-18T15:17:40.394553Z
2023-08-18T15:17:40.39517Z added 854 packages, and audited 855 packages in 16s
2023-08-18T15:17:40.395375Z
2023-08-18T15:17:40.395525Z 235 packages are looking for funding
2023-08-18T15:17:40.395658Z run `npm fund` for details
2023-08-18T15:17:40.431101Z
2023-08-18T15:17:40.431527Z 7 vulnerabilities (6 moderate, 1 high)
2023-08-18T15:17:40.431793Z
2023-08-18T15:17:40.432027Z To address issues that do not require attention, run:
2023-08-18T15:17:40.432264Z npm audit fix
2023-08-18T15:17:40.432531Z
2023-08-18T15:17:40.432707Z To address all issues (including breaking changes), run:
2023-08-18T15:17:40.432894Z npm audit fix --force
2023-08-18T15:17:40.433065Z
2023-08-18T15:17:40.43328Z Run `npm audit` for details.
2023-08-18T15:17:40.457975Z Executing user command: npm run build
2023-08-18T15:17:41.498302Z
2023-08-18T15:17:41.498661Z > [email protected] build
2023-08-18T15:17:41.498858Z > astro build
2023-08-18T15:17:41.499007Z
2023-08-18T15:17:43.677382Z 03:17:43 PM [content] No content directory found. Skipping type generation.
2023-08-18T15:17:43.941079Z 03:17:43 PM [build] output target: static
2023-08-18T15:17:43.941602Z 03:17:43 PM [build] Collecting build info...
2023-08-18T15:17:43.942466Z 03:17:43 PM [build] Completed in 327ms.
2023-08-18T15:17:43.943836Z 03:17:43 PM [build] Building static entrypoints...
2023-08-18T15:17:47.909732Z 03:17:47 PM [build] Completed in 3.97s.
2023-08-18T15:17:47.9105Z
2023-08-18T15:17:47.910732Z building client
2023-08-18T15:18:03.526659Z �[33m
2023-08-18T15:18:03.527425Z (!) Some chunks are larger than 500 kBs after minification. Consider:
2023-08-18T15:18:03.527644Z - Using dynamic import() to code-split the application
2023-08-18T15:18:03.527812Z - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
2023-08-18T15:18:03.527979Z - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.�[39m
2023-08-18T15:18:03.528188Z Completed in 15.62s.
2023-08-18T15:18:03.528329Z
2023-08-18T15:18:03.52868Z
2023-08-18T15:18:03.529006Z generating static routes
2023-08-18T15:18:03.550622Z ▶ src/pages/index.astro
2023-08-18T15:18:04.468442Z └─ /index.html (+0.93s)
2023-08-18T15:18:04.471102Z ▶ src/pages/posts/page/[page].astro
2023-08-18T15:18:04.474353Z ▶ src/pages/posts/tag/[tag]/page/[page].astro
2023-08-18T15:18:04.48073Z ▶ src/pages/posts/tag/[tag].astro
2023-08-18T15:18:04.499255Z ├─ /posts/tag/Book/index.html (+19ms)
2023-08-18T15:18:04.519178Z ├─ /posts/tag/Diary/index.html (+42ms)
2023-08-18T15:18:04.527407Z ├─ /posts/tag/Health/index.html (+51ms)
2023-08-18T15:18:04.5402Z ├─ /posts/tag/Introduction/index.html (+63ms)
2023-08-18T15:18:04.549543Z └─ /posts/tag/ガジェット/index.html (+73ms)
2023-08-18T15:18:05.4065Z ▶ src/pages/posts/[slug].astro
2023-08-18T15:18:06.057932Z ├─ /posts/afraid-from-freedom/index.html (+1.51s)
2023-08-18T15:18:06.730266Z ├─ /posts/necessity-of-monitor/index.html (+2.18s)
2023-08-18T15:18:07.228487Z ├─ /posts/tips-of-continue/index.html (+2.68s)
2023-08-18T15:18:08.714967Z ├─ /posts/dangers-of-sitting/index.html (+4.16s)
2023-08-18T15:18:10.310294Z ├─ /posts/jodein-takaraduka/index.html (+5.76s)
2023-08-18T15:18:10.949217Z ├─ /posts/publications/index.html (+6.40s)
2023-08-18T15:18:12.733049Z └─ /posts/self-introduction/index.html (+8.18s)
2023-08-18T15:18:12.758051Z λ src/pages/feed.ts
2023-08-18T15:18:12.764233Z └─ /feed (+28ms)
2023-08-18T15:18:12.76522Z Completed in 9.24s.
2023-08-18T15:18:12.765668Z
2023-08-18T15:18:12.889161Z cp: cannot stat 'public/notion/*': No such file or directory
2023-08-18T15:18:12.892674Z 03:18:12 PM [build] 13 page(s) built in 29.28s
2023-08-18T15:18:12.892965Z 03:18:12 PM [build] Complete!
2023-08-18T15:18:12.938946Z Finished
2023-08-18T15:18:12.93979Z Note: No functions dir at /functions found. Skipping.
2023-08-18T15:18:12.940017Z Validating asset output directory
2023-08-18T15:18:13.630531Z Deploying your site to Cloudflare's global network...
2023-08-18T15:18:16.884998Z Uploading... (47/57)
2023-08-18T15:18:17.581794Z Uploading... (50/57)
2023-08-18T15:18:20.390693Z Uploading... (53/57)
2023-08-18T15:18:34.562571Z Uploading... (57/57)
2023-08-18T15:18:34.56296Z ✨ Success! Uploaded 10 files (47 already uploaded) (18.82 sec)
2023-08-18T15:18:34.563195Z
2023-08-18T15:18:34.84968Z ✨ Upload complete!
2023-08-18T15:18:36.983615Z Success: Assets published!
2023-08-18T15:18:37.71686Z Success: Your site was deployed!
Web Bookmark に日本語が含まれていても文字化けしない
(できれば)Notion に含まれる画像も正しく表示される
https://github.com/kromiii/astro-notion-blog
特になし
インライン画像が存在しないときに yarn build 時に cp でエラーになる。
インライン画像がないページを準備して、yarn build する
yarn build の結果はこちら
(中略)
cp: public/notion/*: No such file or directory
error Command failed: cp -r public/notion/* /Users/hkob/Dropbox/astro/astro-notion-blog/dist/notion
cp: public/notion/*: No such file or directory
File:
/src/integrations/public-notion-copier.ts:15:29
外部リンク画像しか使っていない場合には、public/notion にはファイルが一つも生成されないので、その時にエラーにならないようにしたい。
main
cp -r public/notion hogehoge/dist
という感じで上のフォルダにコピーすればいいと思います。そうすれば上の mkdir の作業も必要なくなると思います。
Wiki に記載の方法では相対パスになっているので、トップページでしか favicon が表示されません。
不具合を再現する方法を下記の例のように箇条書きで記述します。
/public/favicon.svg
を配置し、 /layout/Layout.astro
の <head>
内に <link rel="icon" href="favicon.png">
を追記以下のように変更すると全部のページで表示されました
<link rel="icon" href={getStaticFilePath('/favicon.svg')} />
OSはmacOS, Windows共に発生。
再現性はなし→再現した
I add a Comments.astro file in component directory, and I modified the [slug].astro. When I commit the files , github give me some error like this:
So I updated the lint.yml like this
steps: - name: Check out Git repository uses: actions/checkout@v3 with: node-version: 16
Then I recommit the files and it continue to report error:
Steps to reproduce the behavior:
The features being planed so far are as follows:
現在計画している機能は下記です。
Leave a comment if you have requests.
もし要望があればコメントしてください。
Notionにアップロードした画像のうち一部の画像ががblog上では表示されない。
npm run dev
を実行する(npm run build
した場合も同様)下記のページでも同様に発生しているようです。
https://astro-notion-blog-otoyo.vercel.app/posts/a-trip-to-miyakojima-island
エラーログは出力されていませんが、画像が0バイトで壊れてダウンロードされているように見えます。
~/g/g/o/astro-notion-blog ❯❯❯ cd dist/notion/ed4d6f2f-c710-4861-b540-5c4ed44e8729
~/g/g/o/a/d/n/ed4d6f2f-c710-4861-b540-5c4ed44e8729 ❯❯❯ ll
total 0
-rw-r--r-- 1 xxx staff 0B Dec 1 10:36 EC946DBE-9A4C-47BA-827D-C0181EB54B0E.jpeg
画像が表示される。
自分が新しくアップロードした画像は表示されたので、コピーした画像・古い画像の場合に発生しているように思われます。
Astro * Notionの組み合わせがイケていて素晴らしく、ぜひ自分のサイトでも利用したいと思っておりますので、お手数ですがご確認をお願いします。
現在、NotionのページやCalloutブロックにて、絵文字のほかに「アイコン」を選べるようになっています。
いまはこれらのアイコンを選んでも、astro-notion-blog側で未対応のため、ブログ上ではアイコンが表示されません。
アイコンを表示できるように変更したいです。
Notionのドキュメント上ではこのアイコンについての記載を見つけられなかったのですが、レスポンスを見ると、icon.external.url
などとして、このアイコンのSVG画像ファイルのURLを取得できるようです。
CalloutブロックのNotionアイコン
※ externalの中身は { url: 'https://www.notion.so/icons/book_brown.svg' }
の形式でした
アイコン画像の有効期限はなさそうに見えますので、単純にこのURLをそのまま画像として表示すればいいのかなと思っています。
余談
「カスタム」からアイコンをアップロードした場合は、期限つきの画像URLが返ってくるようなので、こちらに対応する場合はダウンロードが必要になりそうです…!また別でイシュー等たてるほうが良さそうですね。
There is something missing from the "deploy manually" instructions. After following the instructions for settings, the "actions" screen did not look as in the instructions and I was not able to deploy.
サブディレクトリ環境で fslightbox.js が読み込めない
BASE_DIR を設定して環境で yarn build する
fslightbox.js が読み込めないというエラーになります。
subdir/scripts/fslightbox.js という正しいパスになって欲しいです。
main
現在、fslightbox.js が絶対パスになってしまっています。
{ENABLE_LIGHTBOX && <script src="/scripts/fslightbox.js" />}
ここも getNavLink で BASE_DIR に基づくパスが出せればいいと思います。
{ENABLE_LIGHTBOX && <script src={getNavLink('/scripts/fslightbox.js')} />}
2023-01-22T11:48:06.414738Z Cloning repository...
2023-01-22T11:48:07.288817Z From https://github.com/thamizhnation/astro-notion-blog-1
2023-01-22T11:48:07.289392Z * branch 7e74e1e -> FETCH_HEAD
2023-01-22T11:48:07.289561Z
2023-01-22T11:48:07.345173Z HEAD is now at 7e74e1e Merge pull request #5 from otoyo/fix-blob-fetch
2023-01-22T11:48:07.345825Z
2023-01-22T11:48:07.496961Z
2023-01-22T11:48:07.524854Z Success: Finished cloning repository files
2023-01-22T11:48:08.243905Z Installing dependencies
2023-01-22T11:48:08.255931Z Python version set to 2.7
2023-01-22T11:48:11.695543Z Downloading and installing node v16.13.0...
2023-01-22T11:48:12.122746Z Downloading https://nodejs.org/dist/v16.13.0/node-v16.13.0-linux-x64.tar.xz...
2023-01-22T11:48:12.583402Z Computing checksum with sha256sum
2023-01-22T11:48:12.711172Z Checksums matched!
2023-01-22T11:48:16.990151Z Now using node v16.13.0 (npm v8.1.0)
2023-01-22T11:48:17.390694Z Started restoring cached build plugins
2023-01-22T11:48:17.404719Z Finished restoring cached build plugins
2023-01-22T11:48:17.933204Z Attempting ruby version 2.7.1, read from environment
2023-01-22T11:48:21.58594Z Using ruby version 2.7.1
2023-01-22T11:48:21.951242Z Using PHP version 5.6
2023-01-22T11:48:22.116433Z 5.2 is already installed.
2023-01-22T11:48:22.143775Z Using Swift version 5.2
2023-01-22T11:48:22.144349Z Started restoring cached node modules
2023-01-22T11:48:22.161875Z Finished restoring cached node modules
2023-01-22T11:48:22.170448Z Started restoring cached yarn cache
2023-01-22T11:48:22.186159Z Finished restoring cached yarn cache
2023-01-22T11:48:22.206789Z Installing yarn at version 1.22.4
2023-01-22T11:48:22.224739Z �[37mInstalling Yarn!�[0m
2023-01-22T11:48:22.225087Z �[36m> Downloading tarball...�[0m
2023-01-22T11:48:22.269373Z
2023-01-22T11:48:22.269775Z [1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.RT7VRwPBzN
2023-01-22T11:48:22.270433Z % Total % Received % Xferd Average Speed Time Time Time Current
2023-01-22T11:48:22.270991Z Dload Upload Total Spent Left Speed
2023-01-22T11:48:22.558466Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 79 100 79 0 0 274 0 --:--:-- --:--:-- --:--:-- 274
2023-01-22T11:48:22.689883Z
100 93 100 93 0 0 221 0 --:--:-- --:--:-- --:--:-- 221
2023-01-22T11:48:22.852751Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2023-01-22T11:48:23.197497Z
100 1215k 100 1215k 0 0 1310k 0 --:--:-- --:--:-- --:--:-- 1310k
2023-01-22T11:48:23.197848Z
2023-01-22T11:48:23.198075Z [2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.RT7VRwPBzN.asc
2023-01-22T11:48:23.254162Z
100 83 100 83 0 0 1490 0 --:--:-- --:--:-- --:--:-- 1490
2023-01-22T11:48:23.256163Z
100 97 100 97 0 0 1680 0 --:--:-- --:--:-- --:--:-- 1680
2023-01-22T11:48:23.386885Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2023-01-22T11:48:23.464943Z
100 1028 100 1028 0 0 3858 0 --:--:-- --:--:-- --:--:-- 3858
2023-01-22T11:48:23.51301Z �[36m> Verifying integrity...�[0m
2023-01-22T11:48:23.557165Z gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA
2023-01-22T11:48:23.563289Z gpg: Good signature from "Yarn Packaging [email protected]"
2023-01-22T11:48:23.565776Z gpg: Note: This key has expired!
2023-01-22T11:48:23.566076Z Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 0310
2023-01-22T11:48:23.566229Z Subkey fingerprint: 6D98 490C 6F1A CDDD 448E 4595 4F77 6793 6947 5BAA
2023-01-22T11:48:23.567388Z �[32m> GPG signature looks good�[0m
2023-01-22T11:48:23.568739Z �[36m> Extracting to ~/.yarn...�[0m
2023-01-22T11:48:23.664855Z �[36m> Adding to $PATH...�[0m
2023-01-22T11:48:23.692769Z �[36m> We've added the following to your /opt/buildhome/.bashrc
2023-01-22T11:48:23.693249Z > If this isn't the profile of your current shell then please add the following to your correct profile:
2023-01-22T11:48:23.69439Z
2023-01-22T11:48:23.694706Z export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
2023-01-22T11:48:23.69486Z �[0m
2023-01-22T11:48:24.084685Z �[32m> Successfully installed Yarn 1.22.4! Please open another terminal where the yarn
command will now be available.�[0m
2023-01-22T11:48:24.489Z Installing NPM modules using Yarn version 1.22.4
2023-01-22T11:48:25.208127Z yarn install v1.22.4
2023-01-22T11:48:25.296148Z [1/4] Resolving packages...
2023-01-22T11:48:25.553835Z [2/4] Fetching packages...
2023-01-22T11:48:41.255319Z warning [email protected]: The engine "pnpm" appears to be invalid.
2023-01-22T11:48:41.257377Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T11:48:41.257637Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.258626Z info @esbuild/[email protected]: The platform "linux" is incompatible with this module.
2023-01-22T11:48:41.258833Z info "@esbuild/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.258967Z info @esbuild/[email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T11:48:41.259084Z info @esbuild/[email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T11:48:41.259202Z info "@esbuild/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.259311Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T11:48:41.25942Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.259529Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T11:48:41.259669Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.259783Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T11:48:41.259902Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T11:48:41.260012Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.260119Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T11:48:41.260226Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.260333Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T11:48:41.260442Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T11:48:41.260548Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.260678Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T11:48:41.260789Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.260906Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T11:48:41.261013Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T11:48:41.26112Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.261226Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T11:48:41.261332Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.261438Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T11:48:41.261544Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.26168Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T11:48:41.261789Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.261896Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T11:48:41.262003Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.262108Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T11:48:41.262217Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.262324Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T11:48:41.262432Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.262537Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T11:48:41.262674Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.262793Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T11:48:41.262904Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.26302Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T11:48:41.26322Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.26342Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T11:48:41.263661Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.263859Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T11:48:41.264605Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T11:48:41.264795Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.264991Z info [email protected]: The platform "linux" is incompatible with this module.
2023-01-22T11:48:41.265142Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-01-22T11:48:41.265329Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-01-22T11:48:41.269201Z [3/4] Linking dependencies...
2023-01-22T11:48:41.27109Z warning " > @astrojs/[email protected]" has unmet peer dependency "@types/react@^17.0.50 || ^18.0.21".
2023-01-22T11:48:41.271328Z warning " > @astrojs/[email protected]" has unmet peer dependency "@types/react-dom@^17.0.17 || ^18.0.6".
2023-01-22T11:48:41.274328Z warning "@typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
2023-01-22T11:48:52.073417Z [4/4] Building fresh packages...
2023-01-22T11:48:53.493752Z Done in 28.29s.
2023-01-22T11:48:53.525932Z NPM modules installed using Yarn
2023-01-22T11:48:53.829871Z Installing Hugo 0.54.0
2023-01-22T11:48:54.53755Z Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
2023-01-22T11:48:54.54163Z Started restoring cached go cache
2023-01-22T11:48:54.562086Z Finished restoring cached go cache
2023-01-22T11:48:54.721485Z go version go1.14.4 linux/amd64
2023-01-22T11:48:54.737803Z go version go1.14.4 linux/amd64
2023-01-22T11:48:54.740843Z Installing missing commands
2023-01-22T11:48:54.741156Z Verify run directory
2023-01-22T11:48:54.74139Z Executing user command: npm run build
2023-01-22T11:48:55.207853Z
2023-01-22T11:48:55.208167Z > [email protected] build
2023-01-22T11:48:55.208314Z > astro build
2023-01-22T11:48:55.208431Z
2023-01-22T11:48:57.263649Z 11:48:57 AM [build] output target: static
2023-01-22T11:48:57.264058Z 11:48:57 AM [build] Collecting build info...
2023-01-22T11:48:57.265338Z 11:48:57 AM [build] Completed in 35ms.
2023-01-22T11:48:57.266497Z 11:48:57 AM [build] Building static entrypoints...
2023-01-22T11:48:59.676768Z 11:48:59 AM [build] Completed in 2.41s.
2023-01-22T11:48:59.677146Z
2023-01-22T11:48:59.677301Z building client
2023-01-22T11:49:05.880946Z
2023-01-22T11:49:05.881295Z (!) Some chunks are larger than 500 KiB after minification. Consider:
2023-01-22T11:49:05.881462Z - Using dynamic import() to code-split the application
2023-01-22T11:49:05.881619Z - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/guide/en/#outputmanualchunks
2023-01-22T11:49:05.881757Z - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
2023-01-22T11:49:05.881879Z Completed in 6.20s.
2023-01-22T11:49:05.881988Z
2023-01-22T11:49:05.882095Z
2023-01-22T11:49:05.882205Z generating static routes
2023-01-22T11:49:06.771913Z ▶ src/pages/index.astro
2023-01-22T11:49:06.78602Z └─ /index.html (+14ms)
2023-01-22T11:49:06.78633Z ▶ src/pages/blog/index.astro
2023-01-22T11:49:06.872802Z @notionhq/client warn: request fail {
2023-01-22T11:49:06.873183Z code: 'object_not_found',
2023-01-22T11:49:06.873355Z message: 'Could not find database with ID: 63156ec7-4870-4bf9-b55e-33eeaaac0c5e. Make sure the relevant pages and databases are shared with your integration.'
2023-01-22T11:49:06.873487Z }
2023-01-22T11:49:06.88237Z @notionhq/client warn: request fail {
2023-01-22T11:49:06.88265Z code: 'object_not_found',
2023-01-22T11:49:06.882798Z message: 'Could not find database with ID: 63156ec7-4870-4bf9-b55e-33eeaaac0c5e. Make sure the relevant pages and databases are shared with your integration.'
2023-01-22T11:49:06.88293Z }
2023-01-22T11:49:06.88423Z @notionhq/client warn: request fail {
2023-01-22T11:49:06.88443Z code: 'object_not_found',
2023-01-22T11:49:06.884567Z message: 'Could not find database with ID: 63156ec7-4870-4bf9-b55e-33eeaaac0c5e. Make sure the relevant pages and databases are shared with your integration.'
2023-01-22T11:49:06.884712Z }
2023-01-22T11:49:06.887358Z @notionhq/client warn: request fail {
2023-01-22T11:49:06.887543Z code: 'object_not_found',
2023-01-22T11:49:06.887688Z message: 'Could not find database with ID: 63156ec7-4870-4bf9-b55e-33eeaaac0c5e. Make sure the relevant pages and databases are shared with your integration.'
2023-01-22T11:49:06.887809Z }
2023-01-22T11:49:07.153966Z error Could not find database with ID: 63156ec7-4870-4bf9-b55e-33eeaaac0c5e. Make sure the relevant pages and databases are shared with your integration.
2023-01-22T11:49:07.154564Z File:
2023-01-22T11:49:07.154808Z /opt/buildhome/repo/node_modules/@notionhq/client/build/src/errors.js:162:16
2023-01-22T11:49:07.154944Z Code:
2023-01-22T11:49:07.155098Z 161 | if (apiErrorResponseBody !== undefined) {
2023-01-22T11:49:07.155223Z > 162 | return new APIResponseError({
2023-01-22T11:49:07.155353Z | ^
2023-01-22T11:49:07.155474Z 163 | code: apiErrorResponseBody.code,
2023-01-22T11:49:07.155602Z 164 | message: apiErrorResponseBody.message,
2023-01-22T11:49:07.155739Z 165 | headers: response.headers,
2023-01-22T11:49:07.155866Z Stacktrace:
2023-01-22T11:49:07.156024Z APIResponseError: Could not find database with ID: 63156ec7-4870-4bf9-b55e-33eeaaac0c5e. Make sure the relevant pages and databases are shared with your integration.
2023-01-22T11:49:07.156303Z at buildRequestError (/opt/buildhome/repo/node_modules/@notionhq/client/build/src/errors.js:162:16)
2023-01-22T11:49:07.156501Z at Client.request (/opt/buildhome/repo/node_modules/@notionhq/client/build/src/Client.js:347:54)
2023-01-22T11:49:07.156708Z at processTicksAndRejections (node:internal/process/task_queues:96:5)
2023-01-22T11:49:07.156866Z at async getAllPosts (file:///opt/buildhome/repo/dist/entry.mjs?time=1674388145881:1946:17)
2023-01-22T11:49:07.157014Z at async getPosts (file:///opt/buildhome/repo/dist/entry.mjs?time=1674388145881:1957:20)
2023-01-22T11:49:07.157164Z at async Promise.all (index 0)
2023-01-22T11:49:07.157304Z at async file:///opt/buildhome/repo/dist/entry.mjs?time=1674388145881:2615:53
2023-01-22T11:49:07.157443Z at async renderPage (file:///opt/buildhome/repo/node_modules/astro/dist/runtime/server/render/page.js:89:30)
2023-01-22T11:49:07.157625Z at async renderPage (file:///opt/buildhome/repo/node_modules/astro/dist/core/render/core.js:86:20)
2023-01-22T11:49:07.157803Z at async generatePath (file:///opt/buildhome/repo/node_modules/astro/dist/core/build/generate.js:285:22)
2023-01-22T11:49:07.157921Z
2023-01-22T11:49:07.201414Z Failed: build command exited with code: 1
2023-01-22T11:49:08.323966Z Failed: an internal error occurred
If you have requests to add documents to explain kind of customization, feel free to leave a comment.
もしカスタマイズ方法など絵追加してほしいドキュメントがあれば気軽にコメントしてください。
For example, how to change the favicon, how to change the site title, how to import the updates etc.
例)faviconの変更方法、サイトタイトルの変更方法、変更を取り込む方法など
追加してほしいドキュメントが設置されました。
仕組みとしてはボランティアであることを前提に
私たちコミュニティメンバーがwin-winな関係性を作り出せる活動として
認識してもらえるような表現を考えたい
コミュニティメンバーそれぞれが目的をもってブログを開設されているかと思います。
目的が異なるのに「改造」「記事」を通して交流が生まれるのって不思議ですよね。。。
ボランティア精神は無いんだけど、
書きたくなる解説記事。
不思議でたまらなくなり、これをうまく言語化できないものかとIssueを立たせていただきました。
プルリクするほどでもないかなと思いましたのでこちらに失礼します。
コピーをボタンを押した際に"copied!"のままになってしまうので、数秒後"Copy"に戻す処理があったらいいなと思いました。
src/components/notion-blocks/Code.astro
<script>
document.querySelectorAll('button.copy').forEach((button) => {
button.addEventListener('click', (ev) => {
navigator.clipboard
.writeText(ev.target.getAttribute('data-code'))
.then(() => {
ev.target.innerText = ev.target.getAttribute('data-done-text')
}), r()
function r() {
setTimeout(function () {
ev.target.innerText = 'Copy'
}, 5000)
}
})
})
</script>
いつも開発ありがとうございます!
Twitterでひつじさんとしばおさんからご報告いただいたもの。
現時点で再現性は取れておらず。再現条件を調査中。
/blog/tag/egpa/page/2
2ページ目以降に遷移しようとすると404が表示される
tag egpaをクリック
下のページネーションで2ページ目、3ページ目などをクリック(とにかくページ遷移する)
2ページ目以降へ遷移できること
Notionでアラビア数字のリストを作成したがデプロイ後のリストはアルファベット(小文字)となっていた。
行頭で作成していてネストしているわけではない。
デプロイまでできており公開された URL で不具合が確認できる場合には URL も記載します。
blog.nuovotaka.com
ネストしない場合は、番号付きリストを表示してほしいです。
astro-notion-blog-2023 / main
Feb. 6, 2023
Always
2023-02-08T03:41:49.650865Z Cloning repository...
2023-02-08T03:41:50.543692Z From https://github.com/otoyo/notion-blog
2023-02-08T03:41:50.544368Z * branch 3c3fe3ffd5b5eb6daa5a7cc297fe384e32353158 -> FETCH_HEAD
2023-02-08T03:41:50.544554Z
2023-02-08T03:41:50.602763Z HEAD is now at 3c3fe3f Merge pull request #153 from otoyo/reflect-tag-color
2023-02-08T03:41:50.603343Z
2023-02-08T03:41:50.748039Z
2023-02-08T03:41:50.776551Z Success: Finished cloning repository files
2023-02-08T03:41:51.48726Z Installing dependencies
2023-02-08T03:41:51.498983Z Python version set to 2.7
2023-02-08T03:41:55.009263Z Downloading and installing node v16.13.0...
2023-02-08T03:41:55.46178Z Downloading https://nodejs.org/dist/v16.13.0/node-v16.13.0-linux-x64.tar.xz...
2023-02-08T03:41:55.899264Z Computing checksum with sha256sum
2023-02-08T03:41:56.027876Z Checksums matched!
2023-02-08T03:42:00.303628Z Now using node v16.13.0 (npm v8.1.0)
2023-02-08T03:42:00.728202Z Started restoring cached build plugins
2023-02-08T03:42:00.74219Z Finished restoring cached build plugins
2023-02-08T03:42:01.267266Z Attempting ruby version 2.7.1, read from environment
2023-02-08T03:42:04.886975Z Using ruby version 2.7.1
2023-02-08T03:42:05.244058Z Using PHP version 5.6
2023-02-08T03:42:05.403353Z 5.2 is already installed.
2023-02-08T03:42:05.432282Z Using Swift version 5.2
2023-02-08T03:42:05.433546Z Started restoring cached node modules
2023-02-08T03:42:05.449878Z Finished restoring cached node modules
2023-02-08T03:42:05.458616Z Started restoring cached yarn cache
2023-02-08T03:42:05.472886Z Finished restoring cached yarn cache
2023-02-08T03:42:05.494291Z Installing yarn at version 1.22.4
2023-02-08T03:42:05.512464Z �[37mInstalling Yarn!�[0m
2023-02-08T03:42:05.512728Z �[36m> Downloading tarball...�[0m
2023-02-08T03:42:05.557801Z
2023-02-08T03:42:05.558329Z [1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.UoGPhdRviv
2023-02-08T03:42:05.559219Z % Total % Received % Xferd Average Speed Time Time Time Current
2023-02-08T03:42:05.559537Z Dload Upload Total Spent Left Speed
2023-02-08T03:42:05.807786Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 80 100 80 0 0 321 0 --:--:-- --:--:-- --:--:-- 321
100 80 100 80 0 0 321 0 --:--:-- --:--:-- --:--:-- 321
2023-02-08T03:42:05.94063Z
100 92 100 92 0 0 240 0 --:--:-- --:--:-- --:--:-- 240
2023-02-08T03:42:06.103601Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2023-02-08T03:42:06.463201Z
100 1215k 100 1215k 0 0 1344k 0 --:--:-- --:--:-- --:--:-- 1344k
2023-02-08T03:42:06.463537Z
2023-02-08T03:42:06.463729Z [2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.UoGPhdRviv.asc
2023-02-08T03:42:06.513276Z
100 84 100 84 0 0 1711 0 --:--:-- --:--:-- --:--:-- 1711
2023-02-08T03:42:06.515674Z
100 97 100 97 0 0 1882 0 --:--:-- --:--:-- --:--:-- 1882
2023-02-08T03:42:06.664795Z
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2023-02-08T03:42:06.742937Z
100 1028 100 1028 0 0 3687 0 --:--:-- --:--:-- --:--:-- 3687
2023-02-08T03:42:06.791882Z �[36m> Verifying integrity...�[0m
2023-02-08T03:42:06.834431Z gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA
2023-02-08T03:42:06.840533Z gpg: Good signature from "Yarn Packaging <[email protected]>"
2023-02-08T03:42:06.843138Z gpg: Note: This key has expired!
2023-02-08T03:42:06.8435Z Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 0310
2023-02-08T03:42:06.843723Z Subkey fingerprint: 6D98 490C 6F1A CDDD 448E 4595 4F77 6793 6947 5BAA
2023-02-08T03:42:06.844031Z �[32m> GPG signature looks good�[0m
2023-02-08T03:42:06.844319Z �[36m> Extracting to ~/.yarn...�[0m
2023-02-08T03:42:06.93694Z �[36m> Adding to $PATH...�[0m
2023-02-08T03:42:06.963106Z �[36m> We've added the following to your /opt/buildhome/.bashrc
2023-02-08T03:42:06.963429Z > If this isn't the profile of your current shell then please add the following to your correct profile:
2023-02-08T03:42:06.963573Z
2023-02-08T03:42:06.963692Z export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
2023-02-08T03:42:06.963808Z �[0m
2023-02-08T03:42:07.354794Z �[32m> Successfully installed Yarn 1.22.4! Please open another terminal where the `yarn` command will now be available.�[0m
2023-02-08T03:42:07.748863Z Installing NPM modules using Yarn version 1.22.4
2023-02-08T03:42:08.474755Z yarn install v1.22.4
2023-02-08T03:42:08.565454Z [1/4] Resolving packages...
2023-02-08T03:42:08.837371Z [2/4] Fetching packages...
2023-02-08T03:42:25.419026Z warning [email protected]: The engine "pnpm" appears to be invalid.
2023-02-08T03:42:25.421245Z info [email protected]: The platform "linux" is incompatible with this module.
2023-02-08T03:42:25.421579Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.422584Z info @esbuild/[email protected]: The platform "linux" is incompatible with this module.
2023-02-08T03:42:25.422947Z info "@esbuild/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.423317Z info @esbuild/[email protected]: The CPU architecture "x64" is incompatible with this module.
2023-02-08T03:42:25.423594Z info @esbuild/[email protected]: The CPU architecture "x64" is incompatible with this module.
2023-02-08T03:42:25.423931Z info "@esbuild/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.424217Z info [email protected]: The platform "linux" is incompatible with this module.
2023-02-08T03:42:25.424482Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.42472Z info [email protected]: The platform "linux" is incompatible with this module.
2023-02-08T03:42:25.424938Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.42518Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-02-08T03:42:25.425428Z info [email protected]: The platform "linux" is incompatible with this module.
2023-02-08T03:42:25.42573Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.425875Z info [email protected]: The platform "linux" is incompatible with this module.
2023-02-08T03:42:25.426005Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.426134Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-02-08T03:42:25.426423Z info [email protected]: The platform "linux" is incompatible with this module.
2023-02-08T03:42:25.426648Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.426855Z info [email protected]: The platform "linux" is incompatible with this module.
2023-02-08T03:42:25.426986Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.427296Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-02-08T03:42:25.427477Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-02-08T03:42:25.427602Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.427741Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-02-08T03:42:25.427852Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.427966Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-02-08T03:42:25.428088Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.428209Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-02-08T03:42:25.428317Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.428427Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-02-08T03:42:25.428534Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.428654Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-02-08T03:42:25.428898Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.429027Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-02-08T03:42:25.429153Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.429266Z info [email protected]: The platform "linux" is incompatible with this module.
2023-02-08T03:42:25.429385Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.429503Z info [email protected]: The platform "linux" is incompatible with this module.
2023-02-08T03:42:25.429613Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.429721Z info [email protected]: The platform "linux" is incompatible with this module.
2023-02-08T03:42:25.429827Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.431305Z info [email protected]: The platform "linux" is incompatible with this module.
2023-02-08T03:42:25.431483Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.431639Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-02-08T03:42:25.431786Z info [email protected]: The platform "linux" is incompatible with this module.
2023-02-08T03:42:25.431932Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.432146Z info [email protected]: The platform "linux" is incompatible with this module.
2023-02-08T03:42:25.432302Z info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2023-02-08T03:42:25.43249Z info [email protected]: The CPU architecture "x64" is incompatible with this module.
2023-02-08T03:42:25.435179Z [3/4] Linking dependencies...
2023-02-08T03:42:25.436786Z warning " > @astrojs/[email protected]" has unmet peer dependency "@types/react@^17.0.50 || ^18.0.21".
2023-02-08T03:42:25.437063Z warning " > @astrojs/[email protected]" has unmet peer dependency "@types/react-dom@^17.0.17 || ^18.0.6".
2023-02-08T03:42:25.439475Z warning "@typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
2023-02-08T03:42:36.853237Z [4/4] Building fresh packages...
2023-02-08T03:42:38.668626Z Done in 30.20s.
2023-02-08T03:42:38.70341Z NPM modules installed using Yarn
2023-02-08T03:42:39.000751Z Installing Hugo 0.54.0
2023-02-08T03:42:39.840409Z Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
2023-02-08T03:42:39.844435Z Started restoring cached go cache
2023-02-08T03:42:39.864095Z Finished restoring cached go cache
2023-02-08T03:42:40.015208Z go version go1.14.4 linux/amd64
2023-02-08T03:42:40.030794Z go version go1.14.4 linux/amd64
2023-02-08T03:42:40.033625Z Installing missing commands
2023-02-08T03:42:40.033876Z Verify run directory
2023-02-08T03:42:40.034132Z Executing user command: npm run build:cached
2023-02-08T03:42:40.498019Z
2023-02-08T03:42:40.49844Z > [email protected] build:cached
2023-02-08T03:42:40.498601Z > npm run cache:fetch && astro build
2023-02-08T03:42:40.498806Z
2023-02-08T03:42:40.88278Z
2023-02-08T03:42:40.883145Z > [email protected] cache:fetch
2023-02-08T03:42:40.883338Z > node scripts/blog-contents-cache.cjs
2023-02-08T03:42:40.883481Z
2023-02-08T03:43:59.209632Z exec error: Error: Command failed: NX_BRANCH=main npx nx run astro-notion-blog:_fetch-notion-blocks <block_id> 2023-02-04T07:43:00.000Z
2023-02-08T03:43:59.210034Z
2023-02-08T03:43:59.213269Z /opt/buildhome/repo/scripts/blog-contents-cache.cjs:74
2023-02-08T03:43:59.21349Z throw err;
2023-02-08T03:43:59.213626Z ^
2023-02-08T03:43:59.213754Z
2023-02-08T03:43:59.213877Z Error: Command failed: NX_BRANCH=main npx nx run astro-notion-blog:_fetch-notion-blocks <block_id> 2023-02-04T07:43:00.000Z
2023-02-08T03:43:59.214013Z
2023-02-08T03:43:59.214155Z at ChildProcess.exithandler (node:child_process:397:12)
2023-02-08T03:43:59.214277Z at ChildProcess.emit (node:events:390:28)
2023-02-08T03:43:59.214402Z at maybeClose (node:internal/child_process:1064:16)
2023-02-08T03:43:59.214522Z at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
2023-02-08T03:43:59.214649Z killed: true,
2023-02-08T03:43:59.214765Z code: null,
2023-02-08T03:43:59.21488Z signal: 'SIGTERM',
2023-02-08T03:43:59.215001Z cmd: 'NX_BRANCH=main npx nx run astro-notion-blog:_fetch-notion-blocks <block_id> 2023-02-04T07:43:00.000Z'
2023-02-08T03:43:59.215131Z }
2023-02-08T03:43:59.236988Z Failed: build command exited with code: 1
2023-02-08T03:44:00.164803Z Failed: an internal error occurred
ChildProcess.exec
with a shell script entirely不具合というより、
Nextjs notion blogでは使っていたcomment機能をつけるのに苦労してます。(notion comment)
コメントを見せるのはできるのですが、
コメントを
formで入力するところで、
どうしたらいいか、分からなくなりました。
main...example/like-button-on-vercel
これのようにastroでコメントを使う例を教えていただけないでしょうか。
In order to avoid timeout, fetch images in a post parallelly.
https://developers.cloudflare.com/pages/platform/limits/#builds
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.