morethanmin / morethan-log

😎 A static blog using notion database
https://morethan-log.vercel.app
MIT License
1.98k stars 1.59k forks source link

[Feature Request] Cloudflare Pages Support #290

Open yunho-c opened 1 year ago

yunho-c commented 1 year ago

I would appreciate it if you could add Cloudflare Pages as a deployment option, as it has a much faster cold-start time compared to Vercel (which seems to require users to wait for 10-20 seconds before loading up completely).

Some experiments with Cloudflare Pages cause the following errors that I wasn't able to solve. It seems to be an issue with certain Next.js functions (like dns, os, stream, zlib) being unavailable in Cloudflare's edge runtime. Likely, it must be configured to use Workers instead. Here is the build log:

2023-09-18T05:17:05.270089Z Executing user command: npx @cloudflare/next-on-pages@1
2023-09-18T05:17:09.125729Z npm WARN exec The following package was not found and will be installed: @cloudflare/next-on-pages@1.6.1
2023-09-18T05:17:15.273801Z npm WARN deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
2023-09-18T05:17:15.364472Z npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
2023-09-18T05:17:19.814366Z ⚡️ @cloudflare/next-on-pages CLI v.1.6.1
2023-09-18T05:17:19.817662Z ⚡️ Detected Package Manager: pnpm
2023-09-18T05:17:19.818171Z ⚡️ Preparing project...
2023-09-18T05:17:19.820155Z ⚡️ Project is ready
2023-09-18T05:17:19.820424Z ⚡️ Building project...
2023-09-18T05:17:21.234599Z ▲  Progress: resolved 1, reused 0, downloaded 0, added 0
2023-09-18T05:17:22.234957Z ▲  Progress: resolved 51, reused 3, downloaded 34, added 0
2023-09-18T05:17:23.228195Z ▲  Packages: +169
2023-09-18T05:17:23.233239Z ▲  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2023-09-18T05:17:23.234423Z ▲  Progress: resolved 188, reused 52, downloaded 106, added 0
2023-09-18T05:17:23.819748Z ▲  Progress: resolved 188, reused 53, downloaded 116, added 169, done
2023-09-18T05:17:23.935133Z ▲  .../esbuild@0.14.47/node_modules/esbuild postinstall$ node install.js
2023-09-18T05:17:24.094333Z ▲  .../esbuild@0.14.47/node_modules/esbuild postinstall: Done
2023-09-18T05:17:25.477661Z ▲  Vercel CLI 32.2.4
2023-09-18T05:17:25.825524Z ▲  Warning: Detected "engines": { "node": ">=14.0.0" } in your `package.json` that will automatically upgrade when a new major Node.js Version is released. Learn More: http://vercel.link/node-version
2023-09-18T05:17:25.840742Z ▲  Detected `pnpm-lock.yaml` version 6 generated by pnpm 8
2023-09-18T05:17:25.857019Z ▲  Installing dependencies...
2023-09-18T05:17:26.506568Z ▲  Lockfile is up to date, resolution step is skipped
2023-09-18T05:17:26.617168Z ▲  Already up to date
2023-09-18T05:17:27.023206Z ▲  
2023-09-18T05:17:27.040107Z ▲  Done in 1s
2023-09-18T05:17:27.06227Z  ▲  Detected Next.js version: 13.4.9
2023-09-18T05:17:27.073827Z ▲  Running "pnpm run build"
2023-09-18T05:17:27.625978Z ▲  > morethan-log@1.3.0 build /opt/buildhome/repo
2023-09-18T05:17:27.626372Z ▲  > next build
2023-09-18T05:17:28.619835Z ▲  Attention: Next.js now collects completely anonymous telemetry regarding usage.
2023-09-18T05:17:28.620602Z ▲  This information is used to shape Next.js' roadmap and prioritize features.
2023-09-18T05:17:28.621465Z ▲  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:
2023-09-18T05:17:28.621698Z ▲  https://nextjs.org/telemetry
2023-09-18T05:17:28.828678Z ▲  - info Linting and checking validity of types...
2023-09-18T05:17:32.34858Z  ▲  ./src/hooks/useScheme.ts
2023-09-18T05:17:32.349475Z ▲  31:6  Warning: React Hook useEffect has a missing dependency: 'setScheme'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps
2023-09-18T05:17:32.350048Z ▲  
2023-09-18T05:17:32.350361Z ▲  ./src/routes/Detail/PostDetail/CommentBox/Utterances.tsx
2023-09-18T05:17:32.35066Z  ▲  36:6  Warning: React Hook useEffect has a missing dependency: 'issueTerm'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps
2023-09-18T05:17:32.350926Z ▲  
2023-09-18T05:17:32.351172Z ▲  ./src/routes/Feed/PostList/index.tsx
2023-09-18T05:17:32.35142Z  ▲  51:6  Warning: React Hook useEffect has a missing dependency: 'data'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps
2023-09-18T05:17:32.352818Z ▲  
2023-09-18T05:17:32.353122Z ▲  info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
2023-09-18T05:17:33.201952Z ▲  - info Creating an optimized production build...
2023-09-18T05:17:33.408363Z ▲  - warn You are using an experimental edge runtime, the API might change.
2023-09-18T05:18:06.181361Z ▲  Failed to compile.
2023-09-18T05:18:06.182702Z ▲  ./node_modules/.pnpm/cacheable-lookup@5.0.4/node_modules/cacheable-lookup/source/index.js:10:2
2023-09-18T05:18:06.183084Z ▲  Module not found: Can't resolve 'dns'
2023-09-18T05:18:06.183464Z ▲  
2023-09-18T05:18:06.183685Z ▲  https://nextjs.org/docs/messages/module-not-found
2023-09-18T05:18:06.183883Z ▲  
2023-09-18T05:18:06.184039Z ▲  Import trace for requested module:
2023-09-18T05:18:06.18419Z  ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/core/index.js
2023-09-18T05:18:06.184337Z ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/create.js
2023-09-18T05:18:06.184512Z ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/index.js
2023-09-18T05:18:06.185107Z ▲  ./node_modules/.pnpm/notion-client@6.16.0/node_modules/notion-client/build/index.js
2023-09-18T05:18:06.185283Z ▲  ./src/apis/notion-client/getRecordMap.ts
2023-09-18T05:18:06.185434Z ▲  ./src/apis/notion-client/index.ts
2023-09-18T05:18:06.185613Z ▲  ./src/apis/index.ts
2023-09-18T05:18:06.185799Z ▲  ./src/pages/index.tsx
2023-09-18T05:18:06.186008Z ▲  ./node_modules/.pnpm/next@13.4.9_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?absolute500Path=&absoluteAppPath=private-next-pages%2F_app.tsx&absoluteDocumentPath=private-next-pages%2F_document.tsx&absoluteErrorPath=next%2Fdist%2Fpages%2F_error&absolutePagePath=private-next-pages%2Findex.tsx&buildId=2U8fWaYXkoKVFOqVfOXu-&dev=false&isServerComponent=false&page=%2F&stringifiedConfig=eyJlbnYiOnt9LCJ3ZWJwYWNrIjpudWxsLCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOmZhbHNlLCJ0c2NvbmZpZ1BhdGgiOiJ0c2NvbmZpZy5qc29uIn0sImRpc3REaXIiOiIubmV4dCIsImNsZWFuRGlzdERpciI6dHJ1ZSwiYXNzZXRQcmVmaXgiOiIiLCJjb25maWdPcmlnaW4iOiJuZXh0LmNvbmZpZy5qcyIsInVzZUZpbGVTeXN0ZW1QdWJsaWNSb3V0ZXMiOnRydWUsImdlbmVyYXRlRXRhZ3MiOnRydWUsInBhZ2VFeHRlbnNpb25zIjpbInRzeCIsInRzIiwianN4IiwianMiXSwicG93ZXJlZEJ5SGVhZGVyIjp0cnVlLCJjb21wcmVzcyI6dHJ1ZSwiYW5hbHl0aWNzSWQiOiIiLCJpbWFnZXMiOnsiZGV2aWNlU2l6ZXMiOls2NDAsNzUwLDgyOCwxMDgwLDEyMDAsMTkyMCwyMDQ4LDM4NDBdLCJpbWFnZVNpemVzIjpbMTYsMzIsNDgsNjQsOTYsMTI4LDI1NiwzODRdLCJwYXRoIjoiL19uZXh0L2ltYWdlIiwibG9hZGVyIjoiZGVmYXVsdCIsImxvYWRlckZpbGUiOiIiLCJkb21haW5zIjpbInd3dy5ub3Rpb24uc28iLCJsaDUuZ29vZ2xldXNlcmNvbnRlbnQuY29tIiwiczMtdXMtd2VzdC0yLmFtYXpvbmF3cy5jb20iXSwiZGlzYWJsZVN0YXRpY0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iLCJjb25maWdGaWxlTmFtZSI6Im5leHQuY29uZmlnLmpzIn0%3D&pagesType=pages&appDirLoader=&sriEnabled=false&incrementalCacheHandlerPath=&preferredRegion=&middlewareConfig=e30%3D&serverActionsBodySizeLimit=!
2023-09-18T05:18:06.186266Z ▲  
2023-09-18T05:18:06.186417Z ▲  ./node_modules/.pnpm/cacheable-lookup@5.0.4/node_modules/cacheable-lookup/source/index.js:12:0
2023-09-18T05:18:06.186555Z ▲  Module not found: Can't resolve 'os'
2023-09-18T05:18:06.186726Z ▲  
2023-09-18T05:18:06.186892Z ▲  https://nextjs.org/docs/messages/module-not-found
2023-09-18T05:18:06.187042Z ▲  
2023-09-18T05:18:06.187265Z ▲  Import trace for requested module:
2023-09-18T05:18:06.187481Z ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/core/index.js
2023-09-18T05:18:06.187681Z ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/create.js
2023-09-18T05:18:06.187872Z ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/index.js
2023-09-18T05:18:06.188022Z ▲  ./node_modules/.pnpm/notion-client@6.16.0/node_modules/notion-client/build/index.js
2023-09-18T05:18:06.188153Z ▲  ./src/apis/notion-client/getRecordMap.ts
2023-09-18T05:18:06.188279Z ▲  ./src/apis/notion-client/index.ts
2023-09-18T05:18:06.188417Z ▲  ./src/apis/index.ts
2023-09-18T05:18:06.188547Z ▲  ./src/pages/index.tsx
2023-09-18T05:18:06.188714Z ▲  ./node_modules/.pnpm/next@13.4.9_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?absolute500Path=&absoluteAppPath=private-next-pages%2F_app.tsx&absoluteDocumentPath=private-next-pages%2F_document.tsx&absoluteErrorPath=next%2Fdist%2Fpages%2F_error&absolutePagePath=private-next-pages%2Findex.tsx&buildId=2U8fWaYXkoKVFOqVfOXu-&dev=false&isServerComponent=false&page=%2F&stringifiedConfig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mVkUG9vbCI6dHJ1ZSwiaXNyRmx1c2hUb0Rpc2siOnRydWUsIndvcmtlclRocmVhZHMiOmZhbHNlLCJwYWdlRW52IjpmYWxzZSwib3B0aW1pemVDc3MiOmZhbHNlLCJuZXh0U2NyaXB0V29ya2VycyI6ZmFsc2UsInNjcm9sbFJlc3RvcmF0aW9uIjpmYWxzZSwiZXh0ZXJuYWxEaXIiOmZhbHNlLCJkaXNhYmxlT3B0aW1pemVkTG9hZGluZyI6ZmFsc2UsImd6aXBTaXplIjp0cnVlLCJzd2NGaWxlUmVhZGluZyI6dHJ1ZSwiY3JhQ29tcGF0IjpmYWxzZSwiZXNtRXh0ZXJuYWxzIjp0cnVlLCJhcHBEaXIiOnRydWUsImlzck1lbW9yeUNhY2hlU2l6ZSI6NTI0Mjg4MDAsImZ1bGx5U3BlY2lmaWVkIjpmYWxzZSwib3V0cHV0RmlsZVRyYWNpbmdSb290IjoiL29wdC9idWlsZGhvbWUvcmVwbyIsInN3Y1RyYWNlUHJvZmlsaW5nIjpmYWxzZSwiZm9yY2VTd2NUcmFuc2Zvcm1zIjpmYWxzZSwibGFyZ2VQYWdlRGF0YUJ5dGVzIjoxMjgwMDAsImFkanVzdEZvbnRGYWxsYmFja3MiOmZhbHNlLCJhZGp1c3RGb250RmFsbGJhY2tzV2l0aFNpemVBZGp1c3QiOmZhbHNlLCJ0eXBlZFJvdXRlcyI6ZmFsc2UsImluc3RydW1lbnRhdGlvbkhvb2siOmZhbHNlfSwiY29uZmlnRmlsZSI6Ii9vcHQvYnVpbGRob21lL3JlcG8vbmV4dC5jb25maWcuanMiLCJjb25maWdGaWxlTmFtZSI6Im5leHQuY29uZmlnLmpzIn0%3D&pagesType=pages&appDirLoader=&sriEnabled=false&incrementalCacheHandlerPath=&preferredRegion=&middlewareConfig=e30%3D&serverActionsBodySizeLimit=!
2023-09-18T05:18:06.188894Z ▲  
2023-09-18T05:18:06.189023Z ▲  ./node_modules/.pnpm/clone-response@1.0.3/node_modules/clone-response/src/index.js:3:0
2023-09-18T05:18:06.189148Z ▲  Module not found: Can't resolve 'stream'
2023-09-18T05:18:06.189274Z ▲  
2023-09-18T05:18:06.189414Z ▲  https://nextjs.org/docs/messages/module-not-found
2023-09-18T05:18:06.189551Z ▲  
2023-09-18T05:18:06.189684Z ▲  Import trace for requested module:
2023-09-18T05:18:06.189807Z ▲  ./node_modules/.pnpm/cacheable-request@7.0.4/node_modules/cacheable-request/src/index.js
2023-09-18T05:18:06.189929Z ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/core/index.js
2023-09-18T05:18:06.190052Z ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/create.js
2023-09-18T05:18:06.190179Z ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/index.js
2023-09-18T05:18:06.190301Z ▲  ./node_modules/.pnpm/notion-client@6.16.0/node_modules/notion-client/build/index.js
2023-09-18T05:18:06.190452Z ▲  ./src/apis/notion-client/getRecordMap.ts
2023-09-18T05:18:06.190586Z ▲  ./src/apis/notion-client/index.ts
2023-09-18T05:18:06.190719Z ▲  ./src/apis/index.ts
2023-09-18T05:18:06.190851Z ▲  ./src/pages/index.tsx
2023-09-18T05:18:06.191007Z ▲  ./node_modules/.pnpm/next@13.4.9_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?absolute500Path=&absoluteAppPath=private-next-pages%2F_app.tsx&absoluteDocumentPath=private-next-pages%2F_document.tsx&absoluteErrorPath=next%2Fdist%2Fpages%2F_error&absolutePagePath=private-next-pages%2Findex.tsx&buildId=2U8fWaYXkoKVFOqVfOXu-&dev=false&isServerComponent=false&page=%2F&stringifiedConfig=eyJlbnYiOnt9LCJ3ZWJwYWNrIjpudWxsLCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOmZhbHNlLCJ0c2Nv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ZmFsc2UsInNjcm9sbFJlc3RvcmF0aW9uIjpmYWxzZSwiZXh0ZXJuYWxEaXIiOmZhbHNlLCJkaXNhYmxlT3B0aW1pemVkTG9hZGluZyI6ZmFsc2UsImd6aXBTaXplIjp0cnVlLCJzd2NGaWxlUmVhZGluZyI6dHJ1ZSwiY3JhQ29tcGF0IjpmYWxzZSwiZXNtRXh0ZXJuYWxzIjp0cnVlLCJhcHBEaXIiOnRydWUsImlzck1lbW9yeUNhY2hlU2l6ZSI6NTI0Mjg4MDAsImZ1bGx5U3BlY2lmaWVkIjpmYWxzZSwib3V0cHV0RmlsZVRyYWNpbmdSb290IjoiL29wdC9idWlsZGhvbWUvcmVwbyIsInN3Y1RyYWNlUHJvZmlsaW5nIjpmYWxzZSwiZm9yY2VTd2NUcmFuc2Zvcm1zIjpmYWxzZSwibGFyZ2VQYWdlRGF0YUJ5dGVzIjoxMjgwMDAsImFkanVzdEZvbnRGYWxsYmFja3MiOmZhbHNlLCJhZGp1c3RGb250RmFsbGJhY2tzV2l0aFNpemVBZGp1c3QiOmZhbHNlLCJ0eXBlZFJvdXRlcyI6ZmFsc2UsImluc3RydW1lbnRhdGlvbkhvb2siOmZhbHNlfSwiY29uZmlnRmlsZSI6Ii9vcHQvYnVpbGRob21lL3JlcG8vbmV4dC5jb25maWcuanMiLCJjb25maWdGaWxlTmFtZSI6Im5leHQuY29uZmlnLmpzIn0%3D&pagesType=pages&appDirLoader=&sriEnabled=false&incrementalCacheHandlerPath=&preferredRegion=&middlewareConfig=e30%3D&serverActionsBodySizeLimit=!
2023-09-18T05:18:06.191224Z ▲  
2023-09-18T05:18:06.191366Z ▲  ./node_modules/.pnpm/decompress-response@6.0.0/node_modules/decompress-response/index.js:2:31
2023-09-18T05:18:06.191516Z ▲  Module not found: Can't resolve 'stream'
2023-09-18T05:18:06.191651Z ▲  
2023-09-18T05:18:06.191783Z ▲  https://nextjs.org/docs/messages/module-not-found
2023-09-18T05:18:06.191913Z ▲  
2023-09-18T05:18:06.192034Z ▲  Import trace for requested module:
2023-09-18T05:18:06.192155Z ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/core/index.js
2023-09-18T05:18:06.192284Z ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/create.js
2023-09-18T05:18:06.192423Z ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/index.js
2023-09-18T05:18:06.192552Z ▲  ./node_modules/.pnpm/notion-client@6.16.0/node_modules/notion-client/build/index.js
2023-09-18T05:18:06.19269Z  ▲  ./src/apis/notion-client/getRecordMap.ts
2023-09-18T05:18:06.192813Z ▲  ./src/apis/notion-client/index.ts
2023-09-18T05:18:06.192954Z ▲  ./src/apis/index.ts
2023-09-18T05:18:06.193084Z ▲  ./src/pages/index.tsx
2023-09-18T05:18:06.193234Z ▲  ./node_modules/.pnpm/next@13.4.9_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?absolute500Path=&absoluteAppPath=private-next-pages%2F_app.tsx&absoluteDocumentPath=private-next-pages%2F_document.tsx&absoluteErrorPath=next%2Fdist%2Fpages%2F_error&absolutePagePath=private-next-pages%2Findex.tsx&buildId=2U8fWaYXkoKVFOqVfOXu-&dev=false&isServerComponent=false&page=%2F&stringifiedConfig=eyJlbnYiOnt9LCJ3ZWJwYWNrIjpudWxsLCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOmZhbHNlLCJ0c2NvbmZpZ1BhdGgiOiJ0c2NvbmZpZy5qc29uIn0sImRpc3REaXIiOiIubmV4dCIsImNsZWFuRGlzdERpciI6dHJ1ZSwiYXNzZXRQcmVmaXgiOiIiLCJjb25maWdPcmlnaW4iOiJuZXh0LmNvbmZpZy5qcyIsInVzZUZpbGVTeXN0ZW1QdWJsaWNSb3V0ZXMiOnRydWUsImdlbmVyYXRlRXRhZ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cnVlLCJhcHBEaXIiOnRydWUsImlzck1lbW9yeUNhY2hlU2l6ZSI6NTI0Mjg4MDAsImZ1bGx5U3BlY2lmaWVkIjpmYWxzZSwib3V0cHV0RmlsZVRyYWNpbmdSb290IjoiL29wdC9idWlsZGhvbWUvcmVwbyIsInN3Y1RyYWNlUHJvZmlsaW5nIjpmYWxzZSwiZm9yY2VTd2NUcmFuc2Zvcm1zIjpmYWxzZSwibGFyZ2VQYWdlRGF0YUJ5dGVzIjoxMjgwMDAsImFkanVzdEZvbnRGYWxsYmFja3MiOmZhbHNlLCJhZGp1c3RGb250RmFsbGJhY2tzV2l0aFNpemVBZGp1c3QiOmZhbHNlLCJ0eXBlZFJvdXRlcyI6ZmFsc2UsImluc3RydW1lbnRhdGlvbkhvb2siOmZhbHNlfSwiY29uZmlnRmlsZSI6Ii9vcHQvYnVpbGRob21lL3JlcG8vbmV4dC5jb25maWcuanMiLCJjb25maWdGaWxlTmFtZSI6Im5leHQuY29uZmlnLmpzIn0%3D&pagesType=pages&appDirLoader=&sriEnabled=false&incrementalCacheHandlerPath=&preferredRegion=&middlewareConfig=e30%3D&serverActionsBodySizeLimit=!
2023-09-18T05:18:06.193421Z ▲  
2023-09-18T05:18:06.19356Z  ▲  ./node_modules/.pnpm/decompress-response@6.0.0/node_modules/decompress-response/index.js:3:0
2023-09-18T05:18:06.1937Z   ▲  Module not found: Can't resolve 'zlib'
2023-09-18T05:18:06.193837Z ▲  
2023-09-18T05:18:06.193964Z ▲  https://nextjs.org/docs/messages/module-not-found
2023-09-18T05:18:06.194086Z ▲  
2023-09-18T05:18:06.194215Z ▲  Import trace for requested module:
2023-09-18T05:18:06.194337Z ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/core/index.js
2023-09-18T05:18:06.194526Z ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/create.js
2023-09-18T05:18:06.194667Z ▲  ./node_modules/.pnpm/got@11.8.6/node_modules/got/dist/source/index.js
2023-09-18T05:18:06.1948Z   ▲  ./node_modules/.pnpm/notion-client@6.16.0/node_modules/notion-client/build/index.js
2023-09-18T05:18:06.194928Z ▲  ./src/apis/notion-client/getRecordMap.ts
2023-09-18T05:18:06.195058Z ▲  ./src/apis/notion-client/index.ts
2023-09-18T05:18:06.195181Z ▲  ./src/apis/index.ts
2023-09-18T05:18:06.195314Z ▲  ./src/pages/index.tsx
2023-09-18T05:18:06.195471Z ▲  ./node_modules/.pnpm/next@13.4.9_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?absolute500Path=&absoluteAppPath=private-next-pages%2F_app.tsx&absoluteDocumentPath=private-next-pages%2F_document.tsx&absoluteErrorPath=next%2Fdist%2Fpages%2F_error&absolutePagePath=private-next-pages%2Findex.tsx&buildId=2U8fWaYXkoKVFOqVfOXu-&dev=false&isServerComponent=false&page=%2F&stringifiedConfig=eyJlbnYiOnt9LCJ3ZWJwYWNrIjpudWxsLCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOmZhbHNlLCJ0c2NvbmZpZ1BhdGgiOiJ0c2NvbmZpZy5qc29uIn0sImRpc3REaXIiOiIubmV4dCIsImNsZWFuRGlzdERpciI6dHJ1ZSwiYXNzZXRQcmVmaXgiOiIiLCJjb25maWdPcmlnaW4iOiJuZXh0LmNvbmZpZy5qcyIsInVzZUZpbGVTeXN0ZW1QdWJsaWNSb3V0ZXMiOnRydWUsImdlbmVyYXRlRXRhZ3MiOnRydWUsInBhZ2VFeHRlbnNpb25zIjpbInRzeCIsInRzIiwianN4IiwianMiXSwicG93ZXJlZEJ5SGVhZGVyIjp0cnVlLCJjb21wcmVzcyI6dHJ1ZSwiYW5hbHl0aWNzSWQiOiIiLCJpbWFnZXMiOnsiZGV2aWNlU2l6ZXMiOls2NDAsNzUwLDgyOCwxMDgwLDEyMDAsMTkyMCwyM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zvcm1zIjpmYWxzZSwibGFyZ2VQYWdlRGF0YUJ5dGVzIjoxMjgwMDAsImFkanVzdEZvbnRGYWxsYmFja3MiOmZhbHNlLCJhZGp1c3RGb250RmFsbGJhY2tzV2l0aFNpemVBZGp1c3QiOmZhbHNlLCJ0eXBlZFJvdXRlcyI6ZmFsc2UsImluc3RydW1lbnRhdGlvbkhvb2siOmZhbHNlfSwiY29uZmlnRmlsZSI6Ii9vcHQvYnVpbGRob21lL3JlcG8vbmV4dC5jb25maWcuanMiLCJjb25maWdGaWxlTmFtZSI6Im5leHQuY29uZmlnLmpzIn0%3D&pagesType=pages&appDirLoader=&sriEnabled=false&incrementalCacheHandlerPath=&preferredRegion=&middlewareConfig=e30%3D&serverActionsBodySizeLimit=!
2023-09-18T05:18:06.195657Z ▲  > webpack config.resolve.alias was incorrectly overridden. https://nextjs.org/docs/messages/invalid-resolve-alias
2023-09-18T05:18:06.272199Z ▲  ELIFECYCLE  Command failed with exit code 1.
2023-09-18T05:18:06.323117Z ▲  Error: Command "pnpm run build" exited with 1
2023-09-18T05:18:07.844635Z 
2023-09-18T05:18:07.845064Z ⚡️ The Vercel build (`pnpm dlx vercel build`) command failed. For more details see the Vercel logs above.
2023-09-18T05:18:07.84527Z  ⚡️ If you need help solving the issue, refer to the Vercel or Next.js documentation or their repositories.
2023-09-18T05:18:07.845485Z 
2023-09-18T05:18:07.879546Z Failed: Error while executing user command. Exited with error code: 1
2023-09-18T05:18:07.889297Z Failed: build command exited with code: 1
2023-09-18T05:18:08.956276Z Failed: error occurred while running build command

I am completely new to Next.js and Cloudflare Workers, and have been stuck with this error for a while; I would really appreciate any tips or guidance. Thanks!

many-fac3d-g0d commented 1 year ago

@k2m5t2 I haven't tried edge runtime in cloudflare but was able to deploy the blog as static export, basically you need to add the export option in build "build": "next build && next export" & choose Framework Preset as Next.js(Static HTML Exports) while deploying to cloudflare

If you are interested please check out my post , its a blog post about deploying morethan-log to cloudflare 😁

But remember the above deployment method is static meaning it wont change with the changes in notion database for each change you would need to rebuild from cloudflare ☹