cloudflare / next-on-pages

CLI to build and develop Next.js apps for Cloudflare Pages
https://www.npmjs.com/package/@cloudflare/next-on-pages
MIT License
1.24k stars 118 forks source link

[🐛 Bug]: Error: Failed to publish your Function. Got error: Uncaught Error: No such module "opt/buildhome/repo/.vercel/output/static/_worker.js/index.js". imported from "bundledWorker-0.10174101261235036.mjs" #302

Closed hanumanjiblog closed 1 year ago

hanumanjiblog commented 1 year ago

next-on-pages environment related information

Error: Failed to publish your Function. Got error: Uncaught Error: No such module "opt/buildhome/repo/.vercel/output/static/_worker.js/index.js". imported from "bundledWorker-0.10174101261235036.mjs"

Description

Error: Failed to publish your Function. Got error: Uncaught Error: No such module "opt/buildhome/repo/.vercel/output/static/_worker.js/index.js". imported from "bundledWorker-0.10174101261235036.mjs"

Reproduction

No response

Pages Deployment Method

None

Pages Deployment ID

No response

Additional Information

No response

Would you like to help?

james-elicx commented 1 year ago

Hello, I ask that next time you please fill out some of the bug report template as that information is crucial for us to help you with your issues 🙁

As you didn't specify a deployment method, I shall assume that you are using the Pages git CI for automatic deployments.

This is a bug from using D1 with Wrangler v2. The current build images use Wrangler v2 for deployments IIRC, and therefore, it will lead to this issue when using D1.

You could try deploying manually with Wrangler v3, or create a GitHub workflow using something like cloudflare/pages-action to deploy with v3 on pushes.

hanumanjiblog commented 1 year ago

I am using wrangler 3.1.0, and deployed using GitHub,

james-elicx commented 1 year ago

I am using wrangler 3.1.0, and deployed using GitHub,

So it sounds like your project is connected to GitHub and using the Pages git CI.

As I wrote above, when deploying your built files, it uses Wrangler v2 at the moment AFAIK which will lead to this error. You could try deploying manually with Wrangler v3 or using custom GitHub actions with cloudflare/pages-action.

GregBrimble commented 1 year ago

We're currently running 2.20.0 in CI. We'll bump to v3 soon, but from a quick look at the changelog, I'm not seeing anything that's obviously related in versions since.

dario-piotrowicz commented 1 year ago

@hanumanjiblog I think that the CI image has been updated to use wrangler v3 so you should not encounter the issue anymore, could you try redeploying your application and let me know if it's all good now? 🙏

newbeelearn commented 1 year ago

i am seeing this issue as well, here are the logs. I am not even using D1. Wrangler version is 3.1.0


16:37:40.023 | ✨ Success! Uploaded 8 files (22 already uploaded) (1.58 sec)
-- | --
16:37:40.023 |  
16:37:40.577 | ✨ Upload complete!
16:37:42.385 | Success: Assets published!
16:37:46.348 | Error: Failed to publish your Function. Got error: Uncaught Error: No such module "opt/buildhome/repo/.vercel/output/static/_worker.js/index.js".   imported from "bundledWorker-0.12876756499574205.mjs"

dario-piotrowicz commented 1 year ago

@newbeelearn could you maybe share your code? :pray:

hanumanjiblog commented 1 year ago

still not working

hanumanjiblog commented 1 year ago

Hello, I ask that next time you please fill out some of the bug report template as that information is crucial for us to help you with your issues 🙁

As you didn't specify a deployment method, I shall assume that you are using the Pages git CI for automatic deployments.

This is a bug from using D1 with Wrangler v2. The current build images use Wrangler v2 for deployments IIRC, and therefore, it will lead to this issue when using D1.

You could try deploying manually with Wrangler v3, or create a GitHub workflow using something like cloudflare/pages-action to deploy with v3 on pushes.

how to use it, still I got error

hanumanjiblog commented 1 year ago

Hello, I ask that next time you please fill out some of the bug report template as that information is crucial for us to help you with your issues 🙁

As you didn't specify a deployment method, I shall assume that you are using the Pages git CI for automatic deployments.

This is a bug from using D1 with Wrangler v2. The current build images use Wrangler v2 for deployments IIRC, and therefore, it will lead to this issue when using D1.

You could try deploying manually with Wrangler v3, or create a GitHub workflow using something like cloudflare/pages-action to deploy with v3 on pushes.

Wrangler v3 already tried but not working

zh30 commented 1 year ago

I'm also having this kind of issue, I'm not using D1. It is also the last thing that the function cannot be published。

2023-06-28T10:06:28.594283Z Cloning repository...
2023-06-28T10:06:33.687608Z From https://github.com/zhanghecool/zhangheblog
2023-06-28T10:06:33.688279Z  * branch            a8dfcd6597097abd8ffa80f5c8219bcbb4ba3b73 -> FETCH_HEAD
2023-06-28T10:06:33.688473Z 
2023-06-28T10:06:34.152686Z HEAD is now at a8dfcd6 fix(api): fix api bug
2023-06-28T10:06:34.153335Z 
2023-06-28T10:06:34.264399Z 
2023-06-28T10:06:34.294958Z Success: Finished cloning repository files
2023-06-28T10:06:34.997172Z Installing dependencies
2023-06-28T10:06:35.005346Z Python version set to 2.7
2023-06-28T10:06:38.236123Z Downloading and installing node v18.16.1...
2023-06-28T10:06:38.518208Z Downloading https://nodejs.org/dist/v18.16.1/node-v18.16.1-linux-x64.tar.xz...
2023-06-28T10:06:38.834019Z Computing checksum with sha256sum
2023-06-28T10:06:38.967382Z Checksums matched!
2023-06-28T10:06:44.250262Z Now using node v18.16.1 (npm v9.5.1)
2023-06-28T10:06:44.50793Z  Started restoring cached build plugins
2023-06-28T10:06:44.517144Z Finished restoring cached build plugins
2023-06-28T10:06:44.898647Z Attempting ruby version 2.7.1, read from environment
2023-06-28T10:06:46.401429Z Using /opt/buildhome/.rvm/gems/ruby-2.7.1
2023-06-28T10:06:47.360602Z Using PHP version 5.6
2023-06-28T10:06:47.451993Z 5.2.5 is already installed.
2023-06-28T10:06:47.468876Z Using Swift version 5.2.5
2023-06-28T10:06:47.469274Z Started restoring cached node modules
2023-06-28T10:06:47.481356Z Finished restoring cached node modules
2023-06-28T10:06:48.172179Z Installing NPM modules using NPM version 9.5.1
2023-06-28T10:07:18.570158Z 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-06-28T10:07:18.993465Z npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
2023-06-28T10:07:19.77622Z  npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
2023-06-28T10:07:42.836151Z 
2023-06-28T10:07:42.836792Z added 1414 packages, and audited 1415 packages in 53s
2023-06-28T10:07:42.836975Z 
2023-06-28T10:07:42.837143Z 346 packages are looking for funding
2023-06-28T10:07:42.837258Z   run `npm fund` for details
2023-06-28T10:07:42.886181Z 
2023-06-28T10:07:42.886819Z 52 moderate severity vulnerabilities
2023-06-28T10:07:42.887036Z 
2023-06-28T10:07:42.887243Z To address issues that do not require attention, run:
2023-06-28T10:07:42.887377Z   npm audit fix
2023-06-28T10:07:42.88749Z  
2023-06-28T10:07:42.887603Z To address all issues (including breaking changes), run:
2023-06-28T10:07:42.88772Z    npm audit fix --force
2023-06-28T10:07:42.88783Z  
2023-06-28T10:07:42.887936Z Run `npm audit` for details.
2023-06-28T10:07:42.924829Z NPM modules installed
2023-06-28T10:07:42.98982Z  Installing Hugo 0.54.0
2023-06-28T10:07:43.692309Z Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
2023-06-28T10:07:43.695343Z Started restoring cached go cache
2023-06-28T10:07:43.709589Z Finished restoring cached go cache
2023-06-28T10:07:43.802906Z go version go1.14.4 linux/amd64
2023-06-28T10:07:43.817028Z go version go1.14.4 linux/amd64
2023-06-28T10:07:43.822738Z Installing missing commands
2023-06-28T10:07:43.823047Z Verify run directory
2023-06-28T10:07:43.823187Z Executing user command: npm add -g pnpm && npx @cloudflare/next-on-pages@1
2023-06-28T10:07:45.631006Z 
2023-06-28T10:07:45.631473Z added 1 package in 1s
2023-06-28T10:07:45.631637Z 
2023-06-28T10:07:45.631788Z 1 package is looking for funding
2023-06-28T10:07:45.631903Z   run `npm fund` for details
2023-06-28T10:07:47.764976Z ⚡️ @cloudflare/next-on-pages CLI v.1.1.1
2023-06-28T10:07:47.76813Z  ⚡️ Detected Package Manager: pnpm
2023-06-28T10:07:47.768413Z ⚡️ Preparing project...
2023-06-28T10:07:47.770588Z ⚡️ Project is ready
2023-06-28T10:07:47.77103Z  ⚡️ Building project...
2023-06-28T10:07:49.323642Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 1, reused 0, downloaded 0, added 0
2023-06-28T10:07:50.325131Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 10, reused 0, downloaded 10, added 0
2023-06-28T10:07:54.454186Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 11, reused 0, downloaded 10, added 0
2023-06-28T10:07:55.461469Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 76, reused 0, downloaded 36, added 0
2023-06-28T10:07:56.469647Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 133, reused 0, downloaded 85, added 0
2023-06-28T10:07:57.47695Z  ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 200, reused 0, downloaded 146, added 0
2023-06-28T10:07:58.461352Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     |  WARN  deprecated @npmcli/move-file@1.1.2
2023-06-28T10:07:58.476981Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 302, reused 0, downloaded 250, added 0
2023-06-28T10:07:59.479523Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 429, reused 0, downloaded 339, added 0
2023-06-28T10:08:00.47921Z  ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 499, reused 0, downloaded 410, added 0
2023-06-28T10:08:01.48054Z  ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 578, reused 0, downloaded 480, added 0
2023-06-28T10:08:02.487031Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 672, reused 0, downloaded 569, added 0
2023-06-28T10:08:03.495579Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 784, reused 0, downloaded 673, added 0
2023-06-28T10:08:04.006695Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | +768 ++++++++++++++++++++++++++++++++
2023-06-28T10:08:04.505257Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 809, reused 0, downloaded 715, added 0
2023-06-28T10:08:05.505468Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 809, reused 0, downloaded 764, added 195
2023-06-28T10:08:06.506006Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 809, reused 0, downloaded 767, added 478
2023-06-28T10:08:07.505762Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 809, reused 0, downloaded 767, added 767
2023-06-28T10:08:08.414406Z ▲  .../deasync@0.1.28/node_modules/deasync install$ node ./build.js
2023-06-28T10:08:08.508276Z ▲  .../share/pnpm/store/v3/tmp/dlx-1534     | Progress: resolved 809, reused 0, downloaded 768, added 768, done
2023-06-28T10:08:08.52681Z  ▲  .../deasync@0.1.28/node_modules/deasync install: `linux-x64-node-18` exists; testing
2023-06-28T10:08:08.70434Z  ▲  .../deasync@0.1.28/node_modules/deasync install: Binary is fine; exiting
2023-06-28T10:08:08.713337Z ▲  .../deasync@0.1.28/node_modules/deasync install: Done
2023-06-28T10:08:08.783259Z ▲  .../esbuild@0.14.47/node_modules/esbuild postinstall$ node install.js
2023-06-28T10:08:08.784452Z ▲  .../esbuild@0.17.6/node_modules/esbuild postinstall$ node install.js
2023-06-28T10:08:08.900958Z ▲  .../esbuild@0.14.47/node_modules/esbuild postinstall: Done
2023-06-28T10:08:08.920688Z ▲  .../esbuild@0.17.6/node_modules/esbuild postinstall: Done
2023-06-28T10:08:09.253637Z ▲  .../node_modules/vercel preinstall$ node ./scripts/preinstall.js
2023-06-28T10:08:09.35753Z  ▲  .../node_modules/vercel preinstall: Done
2023-06-28T10:08:11.528229Z ▲  Vercel CLI 30.2.3
2023-06-28T10:08:12.01905Z  ▲  Detected `pnpm-lock.yaml` version 6 generated by pnpm 8...
2023-06-28T10:08:12.06687Z  ▲  Installing dependencies...
2023-06-28T10:08:12.822648Z ▲  Lockfile is up to date, resolution step is skipped
2023-06-28T10:08:12.922975Z ▲  Progress: resolved 1, reused 0, downloaded 0, added 0
2023-06-28T10:08:13.237294Z ▲  Packages: +1327
2023-06-28T10:08:13.237774Z ▲  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2023-06-28T10:08:13.931187Z ▲  Progress: resolved 1327, reused 6, downloaded 7, added 0
2023-06-28T10:08:14.032176Z ▲  Packages are hard linked from the content-addressable store to the virtual store.
2023-06-28T10:08:14.032646Z ▲  Content-addressable store is at: /opt/buildhome/.local/share/pnpm/store/v3
2023-06-28T10:08:14.03348Z  ▲  Virtual store is at:             node_modules/.pnpm
2023-06-28T10:08:14.934231Z ▲  Progress: resolved 1327, reused 77, downloaded 60, added 131
2023-06-28T10:08:15.937331Z ▲  Progress: resolved 1327, reused 125, downloaded 105, added 215
2023-06-28T10:08:16.935747Z ▲  Progress: resolved 1327, reused 209, downloaded 167, added 369
2023-06-28T10:08:17.937138Z ▲  Progress: resolved 1327, reused 258, downloaded 195, added 442
2023-06-28T10:08:18.937553Z ▲  Progress: resolved 1327, reused 357, downloaded 220, added 574
2023-06-28T10:08:19.939949Z ▲  Progress: resolved 1327, reused 487, downloaded 269, added 744
2023-06-28T10:08:20.947473Z ▲  Progress: resolved 1327, reused 602, downloaded 330, added 910
2023-06-28T10:08:21.95454Z  ▲  Progress: resolved 1327, reused 617, downloaded 390, added 1003
2023-06-28T10:08:22.954573Z ▲  Progress: resolved 1327, reused 625, downloaded 414, added 1030
2023-06-28T10:08:23.956458Z ▲  Progress: resolved 1327, reused 664, downloaded 434, added 1084
2023-06-28T10:08:24.957139Z ▲  Progress: resolved 1327, reused 766, downloaded 463, added 1229
2023-06-28T10:08:25.960054Z ▲  Progress: resolved 1327, reused 766, downloaded 505, added 1270
2023-06-28T10:08:26.959617Z ▲  Progress: resolved 1327, reused 766, downloaded 548, added 1314
2023-06-28T10:08:27.967236Z ▲  Progress: resolved 1327, reused 766, downloaded 553, added 1319
2023-06-28T10:08:28.968607Z ▲  Progress: resolved 1327, reused 766, downloaded 555, added 1321
2023-06-28T10:08:29.968559Z ▲  Progress: resolved 1327, reused 766, downloaded 556, added 1322
2023-06-28T10:08:30.97203Z  ▲  Progress: resolved 1327, reused 766, downloaded 557, added 1322
2023-06-28T10:08:31.972092Z ▲  Progress: resolved 1327, reused 766, downloaded 557, added 1323
2023-06-28T10:08:32.971598Z ▲  Progress: resolved 1327, reused 766, downloaded 559, added 1325
2023-06-28T10:08:34.245747Z ▲  Progress: resolved 1327, reused 766, downloaded 560, added 1325
2023-06-28T10:08:35.245875Z ▲  Progress: resolved 1327, reused 766, downloaded 561, added 1327, done
2023-06-28T10:08:35.604161Z ▲  .../node_modules/better-sqlite3 install$ prebuild-install || node-gyp rebuild --release
2023-06-28T10:08:35.968178Z ▲  .../node_modules/better-sqlite3 install: Done
2023-06-28T10:08:36.070333Z ▲  .../esbuild@0.16.3/node_modules/esbuild postinstall$ node install.js
2023-06-28T10:08:36.072486Z ▲  .../esbuild@0.15.18/node_modules/esbuild postinstall$ node install.js
2023-06-28T10:08:36.072737Z ▲  .../esbuild@0.17.6/node_modules/esbuild postinstall$ node install.js
2023-06-28T10:08:36.073292Z ▲  .../esbuild@0.14.47/node_modules/esbuild postinstall$ node install.js
2023-06-28T10:08:36.073501Z ▲  .../node_modules/workerd postinstall$ node install.js
2023-06-28T10:08:36.215901Z ▲  .../esbuild@0.16.3/node_modules/esbuild postinstall: Done
2023-06-28T10:08:36.225976Z ▲  .../esbuild@0.17.6/node_modules/esbuild postinstall: Done
2023-06-28T10:08:36.255911Z ▲  .../esbuild@0.14.47/node_modules/esbuild postinstall: Done
2023-06-28T10:08:36.390897Z ▲  .../node_modules/workerd postinstall: /opt/buildhome/repo/node_modules/.pnpm/workerd@1.20230518.0/node_modules/workerd/bin/workerd: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory
2023-06-28T10:08:36.391985Z ▲  .../node_modules/workerd postinstall: [workerd] Failed to validate workerd binary
2023-06-28T10:08:36.392238Z ▲  .../node_modules/workerd postinstall: Local development will not work. This usually means you're on an unsupported
2023-06-28T10:08:36.393112Z ▲  .../node_modules/workerd postinstall: operating system, or missing some shared libraries. On Debian-based systems,
2023-06-28T10:08:36.393983Z ▲  .../node_modules/workerd postinstall: make sure you've installed the `libc++1` package.
2023-06-28T10:08:36.402475Z ▲  .../node_modules/workerd postinstall: Done
2023-06-28T10:08:36.404841Z ▲  .../esbuild@0.15.18/node_modules/esbuild postinstall: Done
2023-06-28T10:08:37.082585Z ▲  .../node_modules/vercel preinstall$ node ./scripts/preinstall.js
2023-06-28T10:08:37.189488Z ▲  .../node_modules/vercel preinstall: Done
2023-06-28T10:08:38.868229Z ▲  dependencies:
2023-06-28T10:08:38.868761Z ▲  + @algolia/autocomplete-js 1.9.4
2023-06-28T10:08:38.868933Z ▲  + @algolia/autocomplete-theme-classic 1.9.4
2023-06-28T10:08:38.869063Z ▲  + @blocknote/core 0.8.1
2023-06-28T10:08:38.86918Z  ▲  + @blocknote/react 0.8.1
2023-06-28T10:08:38.869301Z ▲  + @cloudflare/pages-plugin-graphql 1.0.2
2023-06-28T10:08:38.869453Z ▲  + @cloudflare/pages-plugin-vercel-og 0.1.0
2023-06-28T10:08:38.869574Z ▲  + @escape.tech/graphql-armor-block-field-suggestions 2.1.0
2023-06-28T10:08:38.869687Z ▲  + @graphql-yoga/plugin-apq 2.0.2
2023-06-28T10:08:38.86981Z  ▲  + @graphql-yoga/plugin-defer-stream 2.0.2
2023-06-28T10:08:38.869933Z ▲  + @graphql-yoga/plugin-disable-introspection 1.0.2
2023-06-28T10:08:38.870045Z ▲  + @graphql-yoga/plugin-response-cache 2.0.2
2023-06-28T10:08:38.870151Z ▲  + @radix-ui/react-slot 1.0.2
2023-06-28T10:08:38.870263Z ▲  + @types/node 20.2.5
2023-06-28T10:08:38.870379Z ▲  + @types/react 18.2.8
2023-06-28T10:08:38.870912Z ▲  + @types/react-dom 18.2.4
2023-06-28T10:08:38.871059Z ▲  + @urql/exchange-persisted 4.0.0
2023-06-28T10:08:38.871176Z ▲  + algoliasearch 4.18.0
2023-06-28T10:08:38.871283Z ▲  + autoprefixer 10.4.14
2023-06-28T10:08:38.871398Z ▲  + class-variance-authority 0.6.1
2023-06-28T10:08:38.871768Z ▲  + clsx 1.2.1
2023-06-28T10:08:38.872076Z ▲  + eslint 8.42.0
2023-06-28T10:08:38.872213Z ▲  + eslint-config-next 13.4.4
2023-06-28T10:08:38.872335Z ▲  + eventsource-parser 1.0.0
2023-06-28T10:08:38.872448Z ▲  + framer-motion 10.12.17
2023-06-28T10:08:38.872556Z ▲  + graphql 16.7.1
2023-06-28T10:08:38.872664Z ▲  + graphql-yoga 4.0.2
2023-06-28T10:08:38.872974Z ▲  + gray-matter 4.0.3
2023-06-28T10:08:38.873104Z ▲  + lodash 4.17.21
2023-06-28T10:08:38.873214Z ▲  + lucide-react 0.241.0
2023-06-28T10:08:38.873319Z ▲  + nanoid 4.0.2
2023-06-28T10:08:38.873535Z ▲  + next 13.4.4
2023-06-28T10:08:38.873655Z ▲  + next-urql 5.0.2
2023-06-28T10:08:38.873792Z ▲  + postcss 8.4.24
2023-06-28T10:08:38.87391Z  ▲  + react 18.2.0
2023-06-28T10:08:38.87402Z  ▲  + react-dom 18.2.0
2023-06-28T10:08:38.874125Z ▲  + react-is 18.2.0
2023-06-28T10:08:38.874238Z ▲  + rss 1.2.2
2023-06-28T10:08:38.874362Z ▲  + tailwind-merge 1.13.2
2023-06-28T10:08:38.874494Z ▲  + tailwindcss 3.3.2
2023-06-28T10:08:38.874621Z ▲  + tailwindcss-animate 1.0.6
2023-06-28T10:08:38.874748Z ▲  + typescript 5.1.3
2023-06-28T10:08:38.874872Z ▲  + urql 4.0.4
2023-06-28T10:08:38.874981Z ▲  
2023-06-28T10:08:38.875098Z ▲  devDependencies:
2023-06-28T10:08:38.875215Z ▲  + @cloudflare/next-on-pages 1.1.1
2023-06-28T10:08:38.875341Z ▲  + @cloudflare/workers-types 4.20230518.0
2023-06-28T10:08:38.875451Z ▲  + @tailwindcss/typography 0.5.9
2023-06-28T10:08:38.875569Z ▲  + @types/lodash 4.14.195
2023-06-28T10:08:38.875688Z ▲  + @types/rss 0.0.30
2023-06-28T10:08:38.876169Z ▲  + rehype-highlight 6.0.0
2023-06-28T10:08:38.87629Z  ▲  + rehype-raw 6.1.1
2023-06-28T10:08:38.876409Z ▲  + rehype-stringify 9.0.3
2023-06-28T10:08:38.876539Z ▲  + remark-emoji 3.1.2
2023-06-28T10:08:38.87665Z  ▲  + remark-gfm 3.0.1
2023-06-28T10:08:38.876786Z ▲  + remark-parse 10.0.2
2023-06-28T10:08:38.876896Z ▲  + remark-rehype 10.1.0
2023-06-28T10:08:38.877039Z ▲  + remark-slug 7.0.1
2023-06-28T10:08:38.877154Z ▲  + remark-toc 8.0.1
2023-06-28T10:08:38.877268Z ▲  + string-width 6.1.0
2023-06-28T10:08:38.877395Z ▲  + unified 10.1.2
2023-06-28T10:08:38.877514Z ▲  The integrity of 1318 files was checked. This might have caused installation to take longer.
2023-06-28T10:08:38.877638Z ▲  Done in 26.7s
2023-06-28T10:08:38.915029Z ▲  Detected Next.js version: 13.4.4
2023-06-28T10:08:38.982396Z ▲  Running "pnpm run build"
2023-06-28T10:08:39.644065Z ▲  > zhangheblog@0.1.0 build /opt/buildhome/repo
2023-06-28T10:08:39.644397Z ▲  > next build
2023-06-28T10:08:40.327732Z ▲  Attention: Next.js now collects completely anonymous telemetry regarding usage.
2023-06-28T10:08:40.328485Z ▲  This information is used to shape Next.js' roadmap and prioritize features.
2023-06-28T10:08:40.328827Z ▲  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-06-28T10:08:40.329018Z ▲  https://nextjs.org/telemetry
2023-06-28T10:08:40.32916Z  ▲  
2023-06-28T10:08:40.467575Z ▲  - info Creating an optimized production build...
2023-06-28T10:09:08.581216Z ▲  - info Compiled successfully
2023-06-28T10:09:08.591388Z ▲  - info Linting and checking validity of types...
2023-06-28T10:09:13.195202Z ▲  - info Collecting page data...
2023-06-28T10:09:14.520204Z ▲  uniq(tags):  [ '技术资讯', '播客', 'Next.js', 'web3' ]
2023-06-28T10:09:29.246186Z ▲  - info Generating static pages (0/15)
2023-06-28T10:09:29.368019Z ▲  - info Generating static pages (3/15)
2023-06-28T10:09:29.40198Z  ▲  
2023-06-28T10:09:29.402319Z ▲  - warn metadata.metadataBase is not set for resolving social open graph or twitter images, fallbacks to "http://localhost:3000". See https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase
2023-06-28T10:09:29.487434Z ▲  data undefined
2023-06-28T10:09:29.509193Z ▲  
2023-06-28T10:09:29.528256Z ▲  
2023-06-28T10:09:29.547927Z ▲  
2023-06-28T10:09:29.578385Z ▲  
2023-06-28T10:09:29.579344Z ▲  
2023-06-28T10:09:29.580064Z ▲  
2023-06-28T10:09:29.612035Z ▲  
2023-06-28T10:09:29.613003Z ▲  
2023-06-28T10:09:29.613258Z ▲  
2023-06-28T10:09:29.65523Z  ▲  
2023-06-28T10:09:29.656033Z ▲  
2023-06-28T10:09:29.656343Z ▲  
2023-06-28T10:09:29.687251Z ▲  
2023-06-28T10:09:29.687844Z ▲  
2023-06-28T10:09:29.688212Z ▲  
2023-06-28T10:09:29.695779Z ▲  - info Generating static pages (7/15)
2023-06-28T10:09:29.718837Z ▲  
2023-06-28T10:09:29.71939Z  ▲  
2023-06-28T10:09:29.719585Z ▲  
2023-06-28T10:09:29.744275Z ▲  
2023-06-28T10:09:29.74494Z  ▲  
2023-06-28T10:09:29.768445Z ▲  
2023-06-28T10:09:29.768903Z ▲  
2023-06-28T10:09:29.792172Z ▲  
2023-06-28T10:09:29.79293Z  ▲  
2023-06-28T10:09:29.813633Z ▲  
2023-06-28T10:09:29.814456Z ▲  
2023-06-28T10:09:29.814768Z ▲  
2023-06-28T10:09:29.831603Z ▲  
2023-06-28T10:09:29.832157Z ▲  
2023-06-28T10:09:29.852685Z ▲  
2023-06-28T10:09:29.853449Z ▲  
2023-06-28T10:09:29.853679Z ▲  
2023-06-28T10:09:29.871129Z ▲  
2023-06-28T10:09:29.871699Z ▲  
2023-06-28T10:09:29.872071Z ▲  
2023-06-28T10:09:29.881186Z ▲  - info Generating static pages (11/15)
2023-06-28T10:09:29.890464Z ▲  
2023-06-28T10:09:29.904887Z ▲  
2023-06-28T10:09:29.922605Z ▲  
2023-06-28T10:09:29.93492Z  ▲  
2023-06-28T10:09:29.952402Z ▲  
2023-06-28T10:09:29.965957Z ▲  
2023-06-28T10:09:29.982102Z ▲  
2023-06-28T10:09:29.995045Z ▲  
2023-06-28T10:09:30.0073Z   ▲  - info Generating static pages (15/15)
2023-06-28T10:09:30.039318Z ▲  - info Finalizing page optimization...
2023-06-28T10:09:30.047506Z ▲  
2023-06-28T10:09:30.063163Z ▲  Route (app)                                       Size     First Load JS
2023-06-28T10:09:30.063451Z ▲  ┌ ○ /                                             185 B          87.7 kB
2023-06-28T10:09:30.063594Z ▲  ├ ℇ /api/graphql                                  0 B                0 B
2023-06-28T10:09:30.063722Z ▲  ├ ℇ /api/hello                                    0 B                0 B
2023-06-28T10:09:30.063851Z ▲  ├ ○ /cvman                                        3.2 kB         90.8 kB
2023-06-28T10:09:30.063973Z ▲  ├ ○ /feed.xml                                     0 B                0 B
2023-06-28T10:09:30.064091Z ▲  ├ ℇ /og                                           0 B                0 B
2023-06-28T10:09:30.064207Z ▲  ├ ● /posts/[...slug]                              9.7 kB          130 kB
2023-06-28T10:09:30.06434Z  ▲  ├   ├ /posts/bing-chatgpt
2023-06-28T10:09:30.06446Z  ▲  ├   ├ /posts/getit-podcast
2023-06-28T10:09:30.064574Z ▲  ├   ├ /posts/hello-world
2023-06-28T10:09:30.064692Z ▲  ├   └ [+3 more paths]
2023-06-28T10:09:30.064836Z ▲  └ ● /tags/[tag]                                   175 B            83 kB
2023-06-28T10:09:30.064951Z ▲    ├ /tags/%E6%8A%80%E6%9C%AF%E8%B5%84%E8%AE%AF
2023-06-28T10:09:30.065062Z ▲    ├ /tags/%E6%92%AD%E5%AE%A2
2023-06-28T10:09:30.065185Z ▲    ├ /tags/Next.js
2023-06-28T10:09:30.065291Z ▲    └ /tags/web3
2023-06-28T10:09:30.065412Z ▲  + First Load JS shared by all                     77.2 kB
2023-06-28T10:09:30.065519Z ▲  ├ chunks/997-f559d2c29836ffb3.js                24.7 kB
2023-06-28T10:09:30.065624Z ▲  ├ chunks/fc28fca1-0f31d9c0f731c819.js           50.5 kB
2023-06-28T10:09:30.06574Z  ▲  ├ chunks/main-app-9c53dc0c4c1b1305.js           216 B
2023-06-28T10:09:30.065854Z ▲  └ chunks/webpack-23bd2129ef80df8d.js            1.68 kB
2023-06-28T10:09:30.065974Z ▲  
2023-06-28T10:09:30.066091Z ▲  Route (pages)                                     Size     First Load JS
2023-06-28T10:09:30.066218Z ▲  ─ ○ /404                                          181 B            79 kB
2023-06-28T10:09:30.066351Z ▲  + First Load JS shared by all                     78.8 kB
2023-06-28T10:09:30.066471Z ▲  ├ chunks/framework-510ec8ffd65e1d01.js          45.1 kB
2023-06-28T10:09:30.066583Z ▲  ├ chunks/main-8b64a80d79214e3f.js               31.8 kB
2023-06-28T10:09:30.066687Z ▲  ├ chunks/pages/_app-7b8e3853221e374e.js         195 B
2023-06-28T10:09:30.066808Z ▲  └ chunks/webpack-23bd2129ef80df8d.js            1.68 kB
2023-06-28T10:09:30.06693Z  ▲  ℇ  (Streaming)  server-side renders with streaming (uses React 18 SSR streaming or Server Components)
2023-06-28T10:09:30.067084Z ▲  ○  (Static)     automatically rendered as static HTML (uses no initial props)
2023-06-28T10:09:30.067218Z ▲  ●  (SSG)        automatically generated as static HTML + JSON (uses getStaticProps)
2023-06-28T10:09:35.153359Z ▲  Traced Next.js server files in: 4.340s
2023-06-28T10:09:40.133884Z ▲  Created all serverless functions in: 4.979s
2023-06-28T10:09:40.537469Z ▲  Collected static files (public/, static/, .next/static): 24.011ms
2023-06-28T10:09:42.039404Z ▲  Build Completed in .vercel/output [2m]
2023-06-28T10:09:45.669446Z ⚡️ Completed `pnpx vercel build`.
2023-06-28T10:09:47.777462Z 
2023-06-28T10:09:47.777935Z ⚡️ Build Summary (@cloudflare/next-on-pages v1.1.1)
2023-06-28T10:09:47.778132Z ⚡️ 
2023-06-28T10:09:47.778257Z ⚡️ Edge Function Routes (3)
2023-06-28T10:09:47.778391Z ⚡️   ┌ /api/graphql
2023-06-28T10:09:47.778504Z ⚡️   ├ /api/hello
2023-06-28T10:09:47.778613Z ⚡️   └ /og
2023-06-28T10:09:47.778734Z ⚡️ 
2023-06-28T10:09:47.778849Z ⚡️ Prerendered Routes (13)
2023-06-28T10:09:47.778959Z ⚡️   ┌ /
2023-06-28T10:09:47.779066Z ⚡️   ├ /cvman
2023-06-28T10:09:47.779186Z ⚡️   ├ /feed.xml
2023-06-28T10:09:47.779293Z ⚡️   ├ /posts/bing-chatgpt
2023-06-28T10:09:47.779408Z ⚡️   ├ /posts/getit-podcast
2023-06-28T10:09:47.77952Z  ⚡️   ├ /posts/hello-world
2023-06-28T10:09:47.779624Z ⚡️   ├ /posts/my-understanding-of-web3
2023-06-28T10:09:47.779764Z ⚡️   ├ /posts/vscode-verify-publisher
2023-06-28T10:09:47.779886Z ⚡️   ├ /posts/webassembly-weekly-podcast
2023-06-28T10:09:47.780004Z ⚡️   ├ /tags/%E6%8A%80%E6%9C%AF%E8%B5%84%E8%AE%AF
2023-06-28T10:09:47.780119Z ⚡️   ├ /tags/%E6%92%AD%E5%AE%A2
2023-06-28T10:09:47.780231Z ⚡️   ├ /tags/Next.js
2023-06-28T10:09:47.780349Z ⚡️   └ /tags/web3
2023-06-28T10:09:47.780465Z ⚡️ 
2023-06-28T10:09:47.780582Z ⚡️ Wasm Files (2)
2023-06-28T10:09:47.781993Z ⚡️   ┌ wasm_ea9ee43a5ee9b2e1cd270fa43980822c06dc5bf2
2023-06-28T10:09:47.782174Z ⚡️   └ wasm_a7e702bc5ba9227243abda7977c8096f59478d3f
2023-06-28T10:09:47.78236Z  ⚡️ 
2023-06-28T10:09:47.782518Z ⚡️ Other Static Assets (83)
2023-06-28T10:09:47.782746Z ⚡️   ┌ /404.html
2023-06-28T10:09:47.782905Z ⚡️   ├ /500.html
2023-06-28T10:09:47.783061Z ⚡️   ├ /android-chrome-192x192.png
2023-06-28T10:09:47.78321Z  ⚡️   ├ /android-chrome-512x512.png
2023-06-28T10:09:47.783323Z ⚡️   └ ... 79 more
2023-06-28T10:09:47.78344Z  
2023-06-28T10:09:47.783558Z ⚡️ Build log saved to '.vercel/output/static/_worker.js/nop-build-log.json'
2023-06-28T10:09:47.857184Z ⚡️ Generated '.vercel/output/static/_worker.js/index.js'.
2023-06-28T10:09:47.913554Z Finished
2023-06-28T10:09:47.914166Z Found _worker.js in output directory. Uploading.
2023-06-28T10:09:48.585581Z Uploading additional modules:
2023-06-28T10:09:48.586453Z - __next-on-pages-dist__/chunks/1015.js (esm)
2023-06-28T10:09:48.586845Z - __next-on-pages-dist__/chunks/1055.js (esm)
2023-06-28T10:09:48.587024Z - __next-on-pages-dist__/chunks/106.js (esm)
2023-06-28T10:09:48.587178Z - __next-on-pages-dist__/chunks/1111.js (esm)
2023-06-28T10:09:48.587338Z - __next-on-pages-dist__/chunks/1118.js (esm)
2023-06-28T10:09:48.587552Z - __next-on-pages-dist__/chunks/1133.js (esm)
2023-06-28T10:09:48.587701Z - __next-on-pages-dist__/chunks/1184.js (esm)
2023-06-28T10:09:48.587855Z - __next-on-pages-dist__/chunks/1197.js (esm)
2023-06-28T10:09:48.587979Z - __next-on-pages-dist__/chunks/1203.js (esm)
2023-06-28T10:09:48.588086Z - __next-on-pages-dist__/chunks/1261.js (esm)
2023-06-28T10:09:48.588201Z - __next-on-pages-dist__/chunks/1267.js (esm)
2023-06-28T10:09:48.588394Z - __next-on-pages-dist__/chunks/1271.js (esm)
2023-06-28T10:09:48.588517Z - __next-on-pages-dist__/chunks/1365.js (esm)
2023-06-28T10:09:48.588623Z - __next-on-pages-dist__/chunks/1413.js (esm)
2023-06-28T10:09:48.588802Z - __next-on-pages-dist__/chunks/1495.js (esm)
2023-06-28T10:09:48.588939Z - __next-on-pages-dist__/chunks/15.js (esm)
2023-06-28T10:09:48.589048Z - __next-on-pages-dist__/chunks/1542.js (esm)
2023-06-28T10:09:48.589164Z - __next-on-pages-dist__/chunks/1575.js (esm)
2023-06-28T10:09:48.589273Z - __next-on-pages-dist__/chunks/1684.js (esm)
2023-06-28T10:09:48.589401Z - __next-on-pages-dist__/chunks/1788.js (esm)
2023-06-28T10:09:48.589507Z - __next-on-pages-dist__/chunks/1831.js (esm)
2023-06-28T10:09:48.589621Z - __next-on-pages-dist__/chunks/1860.js (esm)
2023-06-28T10:09:48.589737Z - __next-on-pages-dist__/chunks/1907.js (esm)
2023-06-28T10:09:48.589863Z - __next-on-pages-dist__/chunks/1963.js (esm)
2023-06-28T10:09:48.589968Z - __next-on-pages-dist__/chunks/1986.js (esm)
2023-06-28T10:09:48.590084Z - __next-on-pages-dist__/chunks/1998.js (esm)
2023-06-28T10:09:48.590219Z - __next-on-pages-dist__/chunks/202.js (esm)
2023-06-28T10:09:48.590347Z - __next-on-pages-dist__/chunks/2021.js (esm)
2023-06-28T10:09:48.590458Z - __next-on-pages-dist__/chunks/2046.js (esm)
2023-06-28T10:09:48.590568Z - __next-on-pages-dist__/chunks/2180.js (esm)
2023-06-28T10:09:48.590681Z - __next-on-pages-dist__/chunks/223.js (esm)
2023-06-28T10:09:48.590799Z - __next-on-pages-dist__/chunks/2245.js (esm)
2023-06-28T10:09:48.590928Z - __next-on-pages-dist__/chunks/227.js (esm)
2023-06-28T10:09:48.591056Z - __next-on-pages-dist__/chunks/2277.js (esm)
2023-06-28T10:09:48.591174Z - __next-on-pages-dist__/chunks/2286.js (esm)
2023-06-28T10:09:48.591307Z - __next-on-pages-dist__/chunks/2349.js (esm)
2023-06-28T10:09:48.591468Z - __next-on-pages-dist__/chunks/239.js (esm)
2023-06-28T10:09:48.591609Z - __next-on-pages-dist__/chunks/2394.js (esm)
2023-06-28T10:09:48.591737Z - __next-on-pages-dist__/chunks/2448.js (esm)
2023-06-28T10:09:48.591845Z - __next-on-pages-dist__/chunks/250.js (esm)
2023-06-28T10:09:48.591961Z - __next-on-pages-dist__/chunks/2504.js (esm)
2023-06-28T10:09:48.592067Z - __next-on-pages-dist__/chunks/2511.js (esm)
2023-06-28T10:09:48.59217Z  - __next-on-pages-dist__/chunks/2535.js (esm)
2023-06-28T10:09:48.592284Z - __next-on-pages-dist__/chunks/2549.js (esm)
2023-06-28T10:09:48.592407Z - __next-on-pages-dist__/chunks/259.js (esm)
2023-06-28T10:09:48.592524Z - __next-on-pages-dist__/chunks/2700.js (esm)
2023-06-28T10:09:48.592641Z - __next-on-pages-dist__/chunks/2720.js (esm)
2023-06-28T10:09:48.592773Z - __next-on-pages-dist__/chunks/2735.js (esm)
2023-06-28T10:09:48.592884Z - __next-on-pages-dist__/chunks/2773.js (esm)
2023-06-28T10:09:48.593026Z - __next-on-pages-dist__/chunks/2780.js (esm)
2023-06-28T10:09:48.593132Z - __next-on-pages-dist__/chunks/2842.js (esm)
2023-06-28T10:09:48.593242Z - __next-on-pages-dist__/chunks/2858.js (esm)
2023-06-28T10:09:48.593364Z - __next-on-pages-dist__/chunks/2899.js (esm)
2023-06-28T10:09:48.593489Z - __next-on-pages-dist__/chunks/2918.js (esm)
2023-06-28T10:09:48.593594Z - __next-on-pages-dist__/chunks/299.js (esm)
2023-06-28T10:09:48.593722Z - __next-on-pages-dist__/chunks/2995.js (esm)
2023-06-28T10:09:48.593857Z - __next-on-pages-dist__/chunks/2999.js (esm)
2023-06-28T10:09:48.593962Z - __next-on-pages-dist__/chunks/3044.js (esm)
2023-06-28T10:09:48.594076Z - __next-on-pages-dist__/chunks/3084.js (esm)
2023-06-28T10:09:48.594181Z - __next-on-pages-dist__/chunks/3112.js (esm)
2023-06-28T10:09:48.594301Z - __next-on-pages-dist__/chunks/317.js (esm)
2023-06-28T10:09:48.594409Z - __next-on-pages-dist__/chunks/3219.js (esm)
2023-06-28T10:09:48.594523Z - __next-on-pages-dist__/chunks/3224.js (esm)
2023-06-28T10:09:48.594625Z - __next-on-pages-dist__/chunks/3296.js (esm)
2023-06-28T10:09:48.594753Z - __next-on-pages-dist__/chunks/3304.js (esm)
2023-06-28T10:09:48.594863Z - __next-on-pages-dist__/chunks/3442.js (esm)
2023-06-28T10:09:48.594968Z - __next-on-pages-dist__/chunks/3484.js (esm)
2023-06-28T10:09:48.595086Z - __next-on-pages-dist__/chunks/3668.js (esm)
2023-06-28T10:09:48.59519Z  - __next-on-pages-dist__/chunks/3693.js (esm)
2023-06-28T10:09:48.595312Z - __next-on-pages-dist__/chunks/3705.js (esm)
2023-06-28T10:09:48.595424Z - __next-on-pages-dist__/chunks/3723.js (esm)
2023-06-28T10:09:48.595535Z - __next-on-pages-dist__/chunks/373.js (esm)
2023-06-28T10:09:48.595638Z - __next-on-pages-dist__/chunks/3750.js (esm)
2023-06-28T10:09:48.595765Z - __next-on-pages-dist__/chunks/3800.js (esm)
2023-06-28T10:09:48.595872Z - __next-on-pages-dist__/chunks/3825.js (esm)
2023-06-28T10:09:48.595985Z - __next-on-pages-dist__/chunks/3840.js (esm)
2023-06-28T10:09:48.596098Z - __next-on-pages-dist__/chunks/3939.js (esm)
2023-06-28T10:09:48.596214Z - __next-on-pages-dist__/chunks/3949.js (esm)
2023-06-28T10:09:48.59637Z  - __next-on-pages-dist__/chunks/396.js (esm)
2023-06-28T10:09:48.596485Z - __next-on-pages-dist__/chunks/3974.js (esm)
2023-06-28T10:09:48.59659Z  - __next-on-pages-dist__/chunks/4002.js (esm)
2023-06-28T10:09:48.596714Z - __next-on-pages-dist__/chunks/4020.js (esm)
2023-06-28T10:09:48.596822Z - __next-on-pages-dist__/chunks/4074.js (esm)
2023-06-28T10:09:48.596933Z - __next-on-pages-dist__/chunks/4143.js (esm)
2023-06-28T10:09:48.597037Z - __next-on-pages-dist__/chunks/4144.js (esm)
2023-06-28T10:09:48.59715Z  - __next-on-pages-dist__/chunks/4169.js (esm)
2023-06-28T10:09:48.597253Z - __next-on-pages-dist__/chunks/4262.js (esm)
2023-06-28T10:09:48.597374Z - __next-on-pages-dist__/chunks/4343.js (esm)
2023-06-28T10:09:48.597483Z - __next-on-pages-dist__/chunks/4353.js (esm)
2023-06-28T10:09:48.597585Z - __next-on-pages-dist__/chunks/4358.js (esm)
2023-06-28T10:09:48.597697Z - __next-on-pages-dist__/chunks/4370.js (esm)
2023-06-28T10:09:48.597813Z - __next-on-pages-dist__/chunks/4386.js (esm)
2023-06-28T10:09:48.597918Z - __next-on-pages-dist__/chunks/4419.js (esm)
2023-06-28T10:09:48.59802Z  - __next-on-pages-dist__/chunks/4474.js (esm)
2023-06-28T10:09:48.598133Z - __next-on-pages-dist__/chunks/4621.js (esm)
2023-06-28T10:09:48.598239Z - __next-on-pages-dist__/chunks/4653.js (esm)
2023-06-28T10:09:48.598359Z - __next-on-pages-dist__/chunks/4689.js (esm)
2023-06-28T10:09:48.598463Z - __next-on-pages-dist__/chunks/4722.js (esm)
2023-06-28T10:09:48.598579Z - __next-on-pages-dist__/chunks/4757.js (esm)
2023-06-28T10:09:48.598684Z - __next-on-pages-dist__/chunks/4799.js (esm)
2023-06-28T10:09:48.598809Z - __next-on-pages-dist__/chunks/4814.js (esm)
2023-06-28T10:09:48.598914Z - __next-on-pages-dist__/chunks/4850.js (esm)
2023-06-28T10:09:48.599022Z - __next-on-pages-dist__/chunks/4952.js (esm)
2023-06-28T10:09:48.599218Z - __next-on-pages-dist__/chunks/5031.js (esm)
2023-06-28T10:09:48.599442Z - __next-on-pages-dist__/chunks/5046.js (esm)
2023-06-28T10:09:48.599652Z - __next-on-pages-dist__/chunks/5116.js (esm)
2023-06-28T10:09:48.599903Z - __next-on-pages-dist__/chunks/5165.js (esm)
2023-06-28T10:09:48.600209Z - __next-on-pages-dist__/chunks/5183.js (esm)
2023-06-28T10:09:48.600439Z - __next-on-pages-dist__/chunks/5193.js (esm)
2023-06-28T10:09:48.600556Z - __next-on-pages-dist__/chunks/5236.js (esm)
2023-06-28T10:09:48.600682Z - __next-on-pages-dist__/chunks/5267.js (esm)
2023-06-28T10:09:48.600848Z - __next-on-pages-dist__/chunks/53.js (esm)
2023-06-28T10:09:48.600976Z - __next-on-pages-dist__/chunks/5310.js (esm)
2023-06-28T10:09:48.601086Z - __next-on-pages-dist__/chunks/5325.js (esm)
2023-06-28T10:09:48.601198Z - __next-on-pages-dist__/chunks/5333.js (esm)
2023-06-28T10:09:48.601346Z - __next-on-pages-dist__/chunks/537.js (esm)
2023-06-28T10:09:48.601456Z - __next-on-pages-dist__/chunks/5398.js (esm)
2023-06-28T10:09:48.601561Z - __next-on-pages-dist__/chunks/5456.js (esm)
2023-06-28T10:09:48.601662Z - __next-on-pages-dist__/chunks/5465.js (esm)
2023-06-28T10:09:48.601789Z - __next-on-pages-dist__/chunks/5495.js (esm)
2023-06-28T10:09:48.601898Z - __next-on-pages-dist__/chunks/5503.js (esm)
2023-06-28T10:09:48.602Z    - __next-on-pages-dist__/chunks/5540.js (esm)
2023-06-28T10:09:48.602102Z - __next-on-pages-dist__/chunks/56.js (esm)
2023-06-28T10:09:48.602204Z - __next-on-pages-dist__/chunks/5607.js (esm)
2023-06-28T10:09:48.602312Z - __next-on-pages-dist__/chunks/5643.js (esm)
2023-06-28T10:09:48.602418Z - __next-on-pages-dist__/chunks/5718.js (esm)
2023-06-28T10:09:48.602532Z - __next-on-pages-dist__/chunks/5795.js (esm)
2023-06-28T10:09:48.602636Z - __next-on-pages-dist__/chunks/5815.js (esm)
2023-06-28T10:09:48.602751Z - __next-on-pages-dist__/chunks/5830.js (esm)
2023-06-28T10:09:48.602866Z - __next-on-pages-dist__/chunks/5947.js (esm)
2023-06-28T10:09:48.602982Z - __next-on-pages-dist__/chunks/5962.js (esm)
2023-06-28T10:09:48.603091Z - __next-on-pages-dist__/chunks/6010.js (esm)
2023-06-28T10:09:48.603205Z - __next-on-pages-dist__/chunks/6030.js (esm)
2023-06-28T10:09:48.603319Z - __next-on-pages-dist__/chunks/605.js (esm)
2023-06-28T10:09:48.603423Z - __next-on-pages-dist__/chunks/6192.js (esm)
2023-06-28T10:09:48.603525Z - __next-on-pages-dist__/chunks/6195.js (esm)
2023-06-28T10:09:48.60363Z  - __next-on-pages-dist__/chunks/6200.js (esm)
2023-06-28T10:09:48.603755Z - __next-on-pages-dist__/chunks/6206.js (esm)
2023-06-28T10:09:48.603869Z - __next-on-pages-dist__/chunks/6267.js (esm)
2023-06-28T10:09:48.603981Z - __next-on-pages-dist__/chunks/6281.js (esm)
2023-06-28T10:09:48.604094Z - __next-on-pages-dist__/chunks/6284.js (esm)
2023-06-28T10:09:48.604214Z - __next-on-pages-dist__/chunks/629.js (esm)
2023-06-28T10:09:48.604336Z - __next-on-pages-dist__/chunks/6292.js (esm)
2023-06-28T10:09:48.60445Z  - __next-on-pages-dist__/chunks/6295.js (esm)
2023-06-28T10:09:48.604559Z - __next-on-pages-dist__/chunks/6381.js (esm)
2023-06-28T10:09:48.604664Z - __next-on-pages-dist__/chunks/648.js (esm)
2023-06-28T10:09:48.604782Z - __next-on-pages-dist__/chunks/6480.js (esm)
2023-06-28T10:09:48.604893Z - __next-on-pages-dist__/chunks/6485.js (esm)
2023-06-28T10:09:48.604996Z - __next-on-pages-dist__/chunks/6544.js (esm)
2023-06-28T10:09:48.605101Z - __next-on-pages-dist__/chunks/6605.js (esm)
2023-06-28T10:09:48.605225Z - __next-on-pages-dist__/chunks/6626.js (esm)
2023-06-28T10:09:48.605339Z - __next-on-pages-dist__/chunks/6644.js (esm)
2023-06-28T10:09:48.605444Z - __next-on-pages-dist__/chunks/6659.js (esm)
2023-06-28T10:09:48.605545Z - __next-on-pages-dist__/chunks/668.js (esm)
2023-06-28T10:09:48.605648Z - __next-on-pages-dist__/chunks/6681.js (esm)
2023-06-28T10:09:48.605762Z - __next-on-pages-dist__/chunks/6732.js (esm)
2023-06-28T10:09:48.605868Z - __next-on-pages-dist__/chunks/6767.js (esm)
2023-06-28T10:09:48.60597Z  - __next-on-pages-dist__/chunks/6805.js (esm)
2023-06-28T10:09:48.606071Z - __next-on-pages-dist__/chunks/6829.js (esm)
2023-06-28T10:09:48.606172Z - __next-on-pages-dist__/chunks/6886.js (esm)
2023-06-28T10:09:48.606273Z - __next-on-pages-dist__/chunks/7072.js (esm)
2023-06-28T10:09:48.606384Z - __next-on-pages-dist__/chunks/7102.js (esm)
2023-06-28T10:09:48.606502Z - __next-on-pages-dist__/chunks/7136.js (esm)
2023-06-28T10:09:48.606611Z - __next-on-pages-dist__/chunks/7214.js (esm)
2023-06-28T10:09:48.606724Z - __next-on-pages-dist__/chunks/724.js (esm)
2023-06-28T10:09:48.606831Z - __next-on-pages-dist__/chunks/7266.js (esm)
2023-06-28T10:09:48.606934Z - __next-on-pages-dist__/chunks/7271.js (esm)
2023-06-28T10:09:48.607066Z - __next-on-pages-dist__/chunks/7377.js (esm)
2023-06-28T10:09:48.607181Z - __next-on-pages-dist__/chunks/7393.js (esm)
2023-06-28T10:09:48.607296Z - __next-on-pages-dist__/chunks/7397.js (esm)
2023-06-28T10:09:48.607409Z - __next-on-pages-dist__/chunks/7427.js (esm)
2023-06-28T10:09:48.60752Z  - __next-on-pages-dist__/chunks/7440.js (esm)
2023-06-28T10:09:48.607628Z - __next-on-pages-dist__/chunks/7471.js (esm)
2023-06-28T10:09:48.607745Z - __next-on-pages-dist__/chunks/7503.js (esm)
2023-06-28T10:09:48.607855Z - __next-on-pages-dist__/chunks/7552.js (esm)
2023-06-28T10:09:48.60797Z  - __next-on-pages-dist__/chunks/7609.js (esm)
2023-06-28T10:09:48.608075Z - __next-on-pages-dist__/chunks/7668.js (esm)
2023-06-28T10:09:48.608199Z - __next-on-pages-dist__/chunks/772.js (esm)
2023-06-28T10:09:48.60831Z  - __next-on-pages-dist__/chunks/776.js (esm)
2023-06-28T10:09:48.60842Z  - __next-on-pages-dist__/chunks/7767.js (esm)
2023-06-28T10:09:48.608525Z - __next-on-pages-dist__/chunks/7768.js (esm)
2023-06-28T10:09:48.608628Z - __next-on-pages-dist__/chunks/788.js (esm)
2023-06-28T10:09:48.60874Z  - __next-on-pages-dist__/chunks/7903.js (esm)
2023-06-28T10:09:48.608852Z - __next-on-pages-dist__/chunks/7966.js (esm)
2023-06-28T10:09:48.608954Z - __next-on-pages-dist__/chunks/8009.js (esm)
2023-06-28T10:09:48.609056Z - __next-on-pages-dist__/chunks/8036.js (esm)
2023-06-28T10:09:48.609157Z - __next-on-pages-dist__/chunks/8077.js (esm)
2023-06-28T10:09:48.609263Z - __next-on-pages-dist__/chunks/8130.js (esm)
2023-06-28T10:09:48.609373Z - __next-on-pages-dist__/chunks/8149.js (esm)
2023-06-28T10:09:48.609478Z - __next-on-pages-dist__/chunks/8184.js (esm)
2023-06-28T10:09:48.60958Z  - __next-on-pages-dist__/chunks/8216.js (esm)
2023-06-28T10:09:48.609689Z - __next-on-pages-dist__/chunks/8304.js (esm)
2023-06-28T10:09:48.609812Z - __next-on-pages-dist__/chunks/8371.js (esm)
2023-06-28T10:09:48.609933Z - __next-on-pages-dist__/chunks/8377.js (esm)
2023-06-28T10:09:48.610051Z - __next-on-pages-dist__/chunks/8398.js (esm)
2023-06-28T10:09:48.610156Z - __next-on-pages-dist__/chunks/8547.js (esm)
2023-06-28T10:09:48.610257Z - __next-on-pages-dist__/chunks/8568.js (esm)
2023-06-28T10:09:48.610378Z - __next-on-pages-dist__/chunks/8704.js (esm)
2023-06-28T10:09:48.610499Z - __next-on-pages-dist__/chunks/8713.js (esm)
2023-06-28T10:09:48.610604Z - __next-on-pages-dist__/chunks/8719.js (esm)
2023-06-28T10:09:48.610716Z - __next-on-pages-dist__/chunks/8784.js (esm)
2023-06-28T10:09:48.610831Z - __next-on-pages-dist__/chunks/8803.js (esm)
2023-06-28T10:09:48.610937Z - __next-on-pages-dist__/chunks/8809.js (esm)
2023-06-28T10:09:48.611039Z - __next-on-pages-dist__/chunks/887.js (esm)
2023-06-28T10:09:48.611154Z - __next-on-pages-dist__/chunks/892.js (esm)
2023-06-28T10:09:48.611331Z - __next-on-pages-dist__/chunks/898.js (esm)
2023-06-28T10:09:48.611472Z - __next-on-pages-dist__/chunks/9044.js (esm)
2023-06-28T10:09:48.611651Z - __next-on-pages-dist__/chunks/9108.js (esm)
2023-06-28T10:09:48.611864Z - __next-on-pages-dist__/chunks/9116.js (esm)
2023-06-28T10:09:48.61201Z  - __next-on-pages-dist__/chunks/9122.js (esm)
2023-06-28T10:09:48.612123Z - __next-on-pages-dist__/chunks/9138.js (esm)
2023-06-28T10:09:48.612242Z - __next-on-pages-dist__/chunks/9155.js (esm)
2023-06-28T10:09:48.612364Z - __next-on-pages-dist__/chunks/9156.js (esm)
2023-06-28T10:09:48.612522Z - __next-on-pages-dist__/chunks/9177.js (esm)
2023-06-28T10:09:48.61269Z  - __next-on-pages-dist__/chunks/9224.js (esm)
2023-06-28T10:09:48.612869Z - __next-on-pages-dist__/chunks/9233.js (esm)
2023-06-28T10:09:48.613035Z - __next-on-pages-dist__/chunks/9242.js (esm)
2023-06-28T10:09:48.613199Z - __next-on-pages-dist__/chunks/9246.js (esm)
2023-06-28T10:09:48.613369Z - __next-on-pages-dist__/chunks/9281.js (esm)
2023-06-28T10:09:48.613534Z - __next-on-pages-dist__/chunks/9296.js (esm)
2023-06-28T10:09:48.613695Z - __next-on-pages-dist__/chunks/9309.js (esm)
2023-06-28T10:09:48.613883Z - __next-on-pages-dist__/chunks/9329.js (esm)
2023-06-28T10:09:48.614047Z - __next-on-pages-dist__/chunks/935.js (esm)
2023-06-28T10:09:48.614208Z - __next-on-pages-dist__/chunks/9388.js (esm)
2023-06-28T10:09:48.614377Z - __next-on-pages-dist__/chunks/9425.js (esm)
2023-06-28T10:09:48.614541Z - __next-on-pages-dist__/chunks/9444.js (esm)
2023-06-28T10:09:48.614701Z - __next-on-pages-dist__/chunks/9460.js (esm)
2023-06-28T10:09:48.614875Z - __next-on-pages-dist__/chunks/9476.js (esm)
2023-06-28T10:09:48.615036Z - __next-on-pages-dist__/chunks/9574.js (esm)
2023-06-28T10:09:48.615197Z - __next-on-pages-dist__/chunks/9575.js (esm)
2023-06-28T10:09:48.615369Z - __next-on-pages-dist__/chunks/9587.js (esm)
2023-06-28T10:09:48.615544Z - __next-on-pages-dist__/chunks/9602.js (esm)
2023-06-28T10:09:48.615714Z - __next-on-pages-dist__/chunks/9692.js (esm)
2023-06-28T10:09:48.61588Z  - __next-on-pages-dist__/chunks/9738.js (esm)
2023-06-28T10:09:48.616046Z - __next-on-pages-dist__/chunks/9743.js (esm)
2023-06-28T10:09:48.616211Z - __next-on-pages-dist__/chunks/9762.js (esm)
2023-06-28T10:09:48.616396Z - __next-on-pages-dist__/chunks/9830.js (esm)
2023-06-28T10:09:48.616526Z - __next-on-pages-dist__/chunks/9837.js (esm)
2023-06-28T10:09:48.616646Z - __next-on-pages-dist__/chunks/9848.js (esm)
2023-06-28T10:09:48.616763Z - __next-on-pages-dist__/chunks/9867.js (esm)
2023-06-28T10:09:48.616899Z - __next-on-pages-dist__/chunks/9889.js (esm)
2023-06-28T10:09:48.617007Z - __next-on-pages-dist__/chunks/9910.js (esm)
2023-06-28T10:09:48.617147Z - __next-on-pages-dist__/chunks/9916.js (esm)
2023-06-28T10:09:48.617272Z - __next-on-pages-dist__/chunks/9932.js (esm)
2023-06-28T10:09:48.617388Z - __next-on-pages-dist__/chunks/9969.js (esm)
2023-06-28T10:09:48.617505Z - __next-on-pages-dist__/functions/api/graphql.func.js (esm)
2023-06-28T10:09:48.617613Z - __next-on-pages-dist__/functions/api/hello.func.js (esm)
2023-06-28T10:09:48.617744Z - __next-on-pages-dist__/functions/og.func.js (esm)
2023-06-28T10:09:48.617872Z - __next-on-pages-dist__/wasm/wasm_a7e702bc5ba9227243abda7977c8096f59478d3f.wasm (compiled-wasm)
2023-06-28T10:09:48.618024Z - __next-on-pages-dist__/wasm/wasm_ea9ee43a5ee9b2e1cd270fa43980822c06dc5bf2.wasm (compiled-wasm)
2023-06-28T10:09:48.660566Z ✨ Compiled Worker successfully
2023-06-28T10:09:48.782071Z Found _routes.json in output directory. Uploading.
2023-06-28T10:09:48.800305Z Validating asset output directory
2023-06-28T10:09:49.477672Z Deploying your site to Cloudflare's global network...
2023-06-28T10:09:51.923259Z Parsed 1 valid header rule.
2023-06-28T10:09:53.355053Z Uploading... (105/108)
2023-06-28T10:09:53.783348Z Uploading... (106/108)
2023-06-28T10:09:53.818049Z Uploading... (107/108)
2023-06-28T10:09:54.062031Z Uploading... (108/108)
2023-06-28T10:09:54.062423Z ✨ Success! Uploaded 3 files (105 already uploaded) (1.03 sec)
2023-06-28T10:09:54.062633Z 
2023-06-28T10:09:54.688021Z ✨ Upload complete!
2023-06-28T10:09:56.244798Z Success: Assets published!
2023-06-28T10:09:58.150467Z Error: Failed to publish your Function. Got error: Uncaught Error: No such module "opt/buildhome/repo/.vercel/output/static/_worker.js/index.js".
  imported from "bundledWorker-0.04156986366544002.mjs"
Qxxxx commented 1 year ago

Same error.

hanumanjiblog commented 1 year ago

same problem still not solved yet 😕

Qxxxx commented 1 year ago

I know the root cause, even though I didn't add D1 in my code. But I add the binding info in my D1 database bindings, which I forget totally and may cause this error. @dario-piotrowicz if CI is upgraded to v3, even if I add the d1 binding in , it shall not lead to error right? image

hanumanjiblog commented 1 year ago

I know the root cause, even though I didn't add D1 in my code. But I add the binding info in my D1 database bindings, which I forget totally and may cause this error. @dario-piotrowicz if CI is upgraded to v3, even if I add the d1 binding in , it shall not lead to error right? image

already tried without d1, result is same.

zh30 commented 1 year ago

I tried to unbind D1 and it worked

sizumita commented 1 year ago

I had the same error. Since I removed D1 binding from the project, I could build.

shiqimei commented 1 year ago

I tried to unbind D1 and it worked

Same error, I can't build successfully if I add D1 binding.

dromzeh commented 1 year ago

Can replicate this issue when having D1 binding(s).

Edit: If you're still having an error after "removing" the binding, make sure you removed it from both the Prod & Preview deployments.

iamvishnusankar commented 1 year ago

This issue still exists and dropping D1 bindings is not an option as our primary goal is to experiment with D1.

dario-piotrowicz commented 1 year ago

sorry for the late reply 🙇

I can confirm that the issue still exists and it applies both to the v1 and v2 build images

when building with the v2 build image I get: Screenshot 2023-08-03 at 11 34 37 (deployment id: 1f15645b-652e-4c6d-935a-614e2a965779)

when building with the v1 build image I get: Screenshot 2023-08-03 at 11 38 42 (deployment id: ed7bd57a-0452-4bf4-80d6-6dc3fa5633c7)

I'll ask the team (@GregBrimble) to look into this as the Pages build image isn't really something I'm familiar with

(I'm marking this issue as external since it's not really something that can be done from the package itself)

dario-piotrowicz commented 1 year ago

@GregBrimble has fixed the issue with the Pages build image 🥳

I just double checked and this doesn't seem to be a problem anymore with neither Pages build images 🚀

metrue commented 8 months ago

Hey @GregBrimble @dario-piotrowicz, I'm getting the same error somehow, any idea for the reason?

...
2024-01-10T03:19:41.783989Z warning "@babel/preset-react > @babel/plugin-transform-react-jsx-development@7.22.5" has unmet peer dependency "@babel/core@^7.0.0-0".
2024-01-10T03:19:41.784067Z warning "@babel/preset-react > @babel/plugin-transform-react-pure-annotations@7.23.3" has unmet peer dependency "@babel/core@^7.0.0-0".
2024-01-10T03:19:41.784145Z warning "@babel/preset-react > @babel/plugin-transform-react-jsx > @babel/plugin-syntax-jsx@7.23.3" has unmet peer dependency "@babel/core@^7.0.0-0".
2024-01-10T03:19:41.784222Z warning " > @prefresh/next@1.7.0" has incorrect peer dependency "next@^9.4.0 || ^10.0.0 || ^11.0.0 || ^12.0.0".
2024-01-10T03:19:41.784299Z warning " > @prefresh/next@1.7.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
2024-01-10T03:19:41.784374Z warning "@prefresh/next > @prefresh/webpack@4.0.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
2024-01-10T03:19:41.784465Z warning " > eslint-config-airbnb@19.0.4" has unmet peer dependency "eslint-plugin-react-hooks@^4.3.0".
2024-01-10T03:19:51.462607Z [4/4] Building fresh packages...
2024-01-10T03:19:51.928956Z Done in 44.76s.
2024-01-10T03:19:51.977836Z NPM modules installed using Yarn
2024-01-10T03:19:52.230898Z Installing Hugo 0.54.0
2024-01-10T03:19:53.087026Z Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
2024-01-10T03:19:53.089239Z Started restoring cached go cache
2024-01-10T03:19:53.099505Z Finished restoring cached go cache
2024-01-10T03:19:53.177856Z go version go1.14.4 linux/amd64
2024-01-10T03:19:53.187225Z go version go1.14.4 linux/amd64
2024-01-10T03:19:53.190339Z Installing missing commands
...
2024-01-10T03:21:07.497994Z ▲  + First Load JS shared by all              168 kB
2024-01-10T03:21:07.498102Z ▲  ├ chunks/framework-91fd4c5181bc9612.js   45.2 kB
2024-01-10T03:21:07.49822Z  ▲  ├ chunks/main-47b643a287d7930a.js        35.4 kB
2024-01-10T03:21:07.498327Z ▲  ├ chunks/pages/_app-11b42bc3479982e0.js  76.8 kB
2024-01-10T03:21:07.49845Z  ▲  ├ chunks/webpack-30b139d400b8b136.js     1.98 kB
2024-01-10T03:21:07.498556Z ▲  └ css/ebf2d08ca6aca2f2.css               8.82 kB
2024-01-10T03:21:07.498675Z ▲  λ  (Dynamic)       server-rendered on demand using Node.js
2024-01-10T03:21:07.49878Z  ▲  ℇ  (Edge Runtime)  server-rendered on demand using the Edge Runtime
2024-01-10T03:21:07.748553Z ▲  Done in 69.81s.
2024-01-10T03:21:08.315098Z ▲  Traced Next.js server files in: 511.389ms
2024-01-10T03:21:09.233592Z ▲  WARNING: Unable to find source file for page _error.js with extensions: tsx, ts, jsx, js, this can cause functions config from `vercel.json` to not be applied
2024-01-10T03:21:09.235861Z ▲  WARNING: Unable to find source file for page /favicon.ico/route with extensions: tsx, ts, jsx, js, this can cause functions config from `vercel.json` to not be applied
2024-01-10T03:21:09.240178Z ▲  Created all serverless functions in: 924.932ms
2024-01-10T03:21:12.349043Z ▲  Collected static files (public/, static/, .next/static): 11.196ms
2024-01-10T03:21:12.456918Z ▲  Warning: Node.js functions are compiled from ESM to CommonJS. If this is not intended, add "type": "module" to your package.json file.
2024-01-10T03:21:12.457159Z ▲  Compiling "index.js" from ESM to CommonJS...
2024-01-10T03:21:13.534693Z ▲  Build Completed in .vercel/output [1m]
2024-01-10T03:21:13.604744Z ⚡️ Completed `npx vercel build`.
2024-01-10T03:21:17.63061Z  ⚡️ Unexpected error: The "path" argument must be of type string. Received undefined
2024-01-10T03:21:17.670846Z Finished
2024-01-10T03:21:17.671321Z Found _worker.js in output directory. Uploading.
2024-01-10T03:21:18.53184Z  Attaching additional modules:
2024-01-10T03:21:18.53255Z  - __next-on-pages-dist__/manifest/27d10e462fba646daaa29468a0656e12.js (esm)
2024-01-10T03:21:18.532701Z - __next-on-pages-dist__/webpack/1152.js (esm)
2024-01-10T03:21:18.532787Z - __next-on-pages-dist__/webpack/39a811b9b64ac6c33bb15c065c95d922.js (esm)
2024-01-10T03:21:18.532904Z - __next-on-pages-dist__/webpack/5608.js (esm)
2024-01-10T03:21:18.533103Z - __next-on-pages-dist__/webpack/687fa67c55a50ac1ec4f8d50259416d3.js (esm)
2024-01-10T03:21:18.533295Z - __next-on-pages-dist__/webpack/8fdade9996fa7f63585790ce2eaad61e.js (esm)
2024-01-10T03:21:18.533442Z - __next-on-pages-dist__/webpack/91d0b49ddf1b06ae277f48fa41082888.js (esm)
2024-01-10T03:21:18.533567Z - __next-on-pages-dist__/webpack/acb3f8c5d74ddb62b9601459835530f5.js (esm)
2024-01-10T03:21:18.687803Z ✘ [ERROR] 1 error(s) and 0 warning(s) when compiling Worker.
2024-01-10T03:21:18.688105Z 
2024-01-10T03:21:18.688786Z 
2024-01-10T03:21:18.691132Z 
2024-01-10T03:21:18.692746Z ✘ [ERROR] Could not resolve "/opt/buildhome/repo/.vercel/output/static/_worker.js/index.js"
2024-01-10T03:21:18.692923Z 
2024-01-10T03:21:18.69304Z  
2024-01-10T03:21:18.694523Z ✘ [ERROR] Build failed with 1 error:
2024-01-10T03:21:18.694732Z 
2024-01-10T03:21:18.694843Z   error: Could not resolve "/opt/buildhome/repo/.vercel/output/static/_worker.js/index.js"
2024-01-10T03:21:18.694967Z 
2024-01-10T03:21:18.695067Z 
2024-01-10T03:21:18.706037Z Failed building Pages Functions.
2024-01-10T03:21:20.052561Z Failed: an internal error occurred. If this continues, contact support: https://cfl.re/3WgEyrH

Here is my package.json

  "dependencies": {
    "@apollo/client": "^3.8.8",
    "@babel/eslint-parser": "^7.17.0",
    "@cloudflare/next-on-pages": "^1.8.5",
    "@gikiapp/sdk": "^1.7.0",
    "@giscus/react": "^2.2.3",
    "@peculiar/webcrypto": "^1.3.3",
    "@primer/octicons-react": "^17.3.0",
    "@types/i18n-js": "^3.8.4",
    "enzyme": "^3.11.0",
    "enzyme-adapter-react-16": "^1.15.7",
    "eslint-plugin-mocha": "^10.0.5",
    "graphql": "^16.5.0",
    "i18n-js": "^3.9.2",
    "identity-obj-proxy": "^3.0.0",
    "jsonwebtoken": "^8.5.1",
    "next": "^14.0.0",
    "next-remove-imports": "^1.0.6",
    "next-themes": "^0.1.1",
    "next-translate": "^1.5.0",
    "preact": "^10.11.3",
    "raw-body": "^2.5.1",
    "react": "^18.2.0",
    "react-calendar-heatmap": "^1.9.0",
    "react-cookie": "^4.1.1",
    "react-dom": "^18.0.0",
    "react-markdown": "^8.0.2",
    "react-switch": "^7.0.0",
    "react-test-renderer": "^18.0.0",
    "react-use": "^17.3.2",
    "react-use-cookie": "^1.4.0",
    "rehype-highlight": "^5.0.2",
    "rehype-raw": "^6.1.1",
    "remark-gfm": "^3.0.1",
    "swr": "^1.2.2",
    "universal-cookie": "^4.0.4"
  },
  "devDependencies": {
    "@babel/preset-env": "^7.18.2",
    "@babel/preset-react": "^7.18.6",
    "@next/bundle-analyzer": "^12.1.5",
    "@prefresh/next": "^1.5.2",
    "@types/jest": "^29.2.3",
    "@types/jsonwebtoken": "^8.5.7",
    "@types/node": "^18.0.5",
    "@types/react": "18.2.25",
    "@types/react-dom": "^18.0.5",
    "@typescript-eslint/eslint-plugin": "6.17.0",
    "@typescript-eslint/parser": "6.17.0",
    "autoprefixer": "^10.4.4",
    "cssnano": "^5.1.12",
    "eslint": "^8.56.0",
    "eslint-config-airbnb": "^19.0.4",
    "eslint-config-next": "^12.2.2",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-import": "^2.25.4",
    "eslint-plugin-jest": "^27.1.5",
    "eslint-plugin-jsx-a11y": "^6.5.1",
    "eslint-plugin-mocha": "^10.0.5",
    "eslint-plugin-prettier": "^4.2.1",
    "eslint-plugin-react": "^7.30.0",
    "jest": "^29.3.1",
    "postcss": "^8.4.14",
    "postcss-cli": "^10.0.0",
    "postcss-import": "^14.1.0",
    "prettier": "^2.7.1",
    "stylelint": "^14.15.0",
    "stylelint-config-standard": "^25.0.0",
    "tailwindcss": "^2.2.19",
    "typescript": "^5.3.3",
    "vercel": "^33.0.2"
  },
  "nextBundleAnalysis": {
    "budget": 358400,
    "budgetPercentIncreaseRed": 20,
    "minimumChangeThreshold": 0,
    "showDetails": true
  }
}

Any idea for debugging?

mrturck commented 7 months ago

Solved this issue for our team

We are using Bun primarily which uses bun.lockb as its lock file. Somehow a rogue package-lock.json had made its way into the repo. Once I removed it, everything built successfully.

Not sure why this would happen, but checking for multiple lock files might be worthwhile