[GH-ISSUE #16] cloudflare中自动部署失败 #11

Closed
opened 2026-02-26 12:17:34 +03:00 by kerem · 3 comments
Owner

Originally created by @2754026865 on GitHub (Jan 8, 2025).
Original GitHub issue: https://github.com/beilunyang/moemail/issues/16

每次在github中修改完“master”分支的代码后,cloudflare都会自动启动部署,但每次都会失败,下面是报错。

“2025-01-08T01:16:47.160012Z Cloning repository...
2025-01-08T01:16:47.836355Z From https://github.com/2754026865/moemail
2025-01-08T01:16:47.837236Z * branch 7b9a2df145 -> FETCH_HEAD
2025-01-08T01:16:47.837437Z
2025-01-08T01:16:47.897773Z HEAD is now at 7b9a2df fix: deploy pages script
2025-01-08T01:16:47.898192Z
2025-01-08T01:16:47.979212Z
2025-01-08T01:16:47.979904Z Using v2 root directory strategy
2025-01-08T01:16:48.000552Z Success: Finished cloning repository files
2025-01-08T01:16:49.438226Z Checking for configuration in a Wrangler configuration file (BETA)
2025-01-08T01:16:49.439301Z
2025-01-08T01:16:49.544494Z No wrangler.toml file found. Continuing.
2025-01-08T01:16:49.69467Z Detected the following tools from environment: npm@9.6.7, pnpm@8.7.1, nodejs@18.17.1
2025-01-08T01:16:50.479164Z Installing project dependencies: pnpm install
2025-01-08T01:16:51.188216Z  WARN  Ignoring not compatible lockfile at /opt/buildhome/repo/pnpm-lock.yaml
2025-01-08T01:16:51.402009Z Progress: resolved 1, reused 0, downloaded 0, added 0
2025-01-08T01:16:51.565009Z  WARN  deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
2025-01-08T01:16:52.402943Z Progress: resolved 33, reused 0, downloaded 28, added 0
2025-01-08T01:16:53.787456Z Progress: resolved 44, reused 0, downloaded 42, added 0
2025-01-08T01:16:54.330066Z  WARN  deprecated @esbuild-kit/esm-loader@2.6.5: Merged into tsx: https://tsx.is
2025-01-08T01:16:54.809689Z Progress: resolved 81, reused 0, downloaded 61, added 0
2025-01-08T01:16:55.499206Z  WARN  deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
2025-01-08T01:16:55.810407Z Progress: resolved 100, reused 0, downloaded 75, added 0
2025-01-08T01:16:56.810154Z Progress: resolved 114, reused 0, downloaded 88, added 0
2025-01-08T01:16:57.82298Z Progress: resolved 144, reused 0, downloaded 122, added 0
2025-01-08T01:16:58.826215Z Progress: resolved 209, reused 0, downloaded 183, added 0
2025-01-08T01:16:59.287817Z  WARN  deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
2025-01-08T01:16:59.881453Z Progress: resolved 247, reused 0, downloaded 207, added 0
2025-01-08T01:16:59.987758Z  WARN  deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
2025-01-08T01:17:00.364985Z  WARN  deprecated workbox-google-analytics@6.6.0: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained
2025-01-08T01:17:00.826988Z  WARN  deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
2025-01-08T01:17:00.921145Z Progress: resolved 280, reused 0, downloaded 230, added 0
2025-01-08T01:17:01.21712Z  WARN  deprecated @esbuild-kit/core-utils@3.3.2: Merged into tsx: https://tsx.is
2025-01-08T01:17:01.383157Z  WARN  deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
2025-01-08T01:17:01.969116Z Progress: resolved 363, reused 0, downloaded 297, added 0
2025-01-08T01:17:02.972594Z Progress: resolved 419, reused 0, downloaded 327, added 0
2025-01-08T01:17:03.597358Z  WARN  deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
2025-01-08T01:17:03.80475Z  WARN  deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
2025-01-08T01:17:03.978016Z Progress: resolved 499, reused 0, downloaded 376, added 0
2025-01-08T01:17:04.617346Z  WARN  deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
2025-01-08T01:17:04.979178Z Progress: resolved 620, reused 0, downloaded 477, added 0
2025-01-08T01:17:05.414976Z  WARN  deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
2025-01-08T01:17:05.824452Z  WARN  deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
2025-01-08T01:17:05.979988Z Progress: resolved 780, reused 0, downloaded 624, added 0
2025-01-08T01:17:06.143171Z  WARN  deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
2025-01-08T01:17:06.538178Z  WARN  deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
2025-01-08T01:17:06.83289Z  WARN  deprecated npmlog@5.0.1: This package is no longer supported.
2025-01-08T01:17:06.980168Z Progress: resolved 1005, reused 0, downloaded 803, added 0
2025-01-08T01:17:07.149189Z  WARN  deprecated are-we-there-yet@2.0.0: This package is no longer supported.
2025-01-08T01:17:07.151659Z  WARN  deprecated gauge@3.0.2: This package is no longer supported.
2025-01-08T01:17:08.027003Z Progress: resolved 1123, reused 0, downloaded 963, added 0
2025-01-08T01:17:08.035359Z Packages: +978
2025-01-08T01:17:08.035713Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2025-01-08T01:17:09.030242Z Progress: resolved 1123, reused 0, downloaded 979, added 513
2025-01-08T01:17:10.030327Z Progress: resolved 1123, reused 0, downloaded 979, added 975
2025-01-08T01:17:10.260172Z Progress: resolved 1123, reused 0, downloaded 979, added 978, done
2025-01-08T01:17:10.660085Z .../esbuild@0.15.18/node_modules/esbuild postinstall$ node install.js
2025-01-08T01:17:10.661296Z .../esbuild@0.14.47/node_modules/esbuild postinstall$ node install.js
2025-01-08T01:17:10.899937Z .../esbuild@0.18.20/node_modules/esbuild postinstall$ node install.js
2025-01-08T01:17:10.90062Z .../esbuild@0.17.19/node_modules/esbuild postinstall$ node install.js
2025-01-08T01:17:11.004158Z .../esbuild@0.15.18/node_modules/esbuild postinstall: Done
2025-01-08T01:17:11.00952Z .../esbuild@0.14.47/node_modules/esbuild postinstall: Done
2025-01-08T01:17:11.017408Z .../.pnpm/bun@1.1.42/node_modules/bun postinstall$ node install.js
2025-01-08T01:17:11.078391Z .../esbuild@0.18.20/node_modules/esbuild postinstall: Done
2025-01-08T01:17:11.086072Z .../esbuild@0.17.19/node_modules/esbuild postinstall: Done
2025-01-08T01:17:11.13081Z .../esbuild@0.19.12/node_modules/esbuild postinstall$ node install.js
2025-01-08T01:17:11.205222Z .../.pnpm/bun@1.1.42/node_modules/bun postinstall: Done
2025-01-08T01:17:11.245121Z .../node_modules/workerd postinstall$ node install.js
2025-01-08T01:17:11.368414Z .../esbuild@0.19.12/node_modules/esbuild postinstall: Done
2025-01-08T01:17:11.451007Z .../node_modules/workerd postinstall: Done
2025-01-08T01:17:11.795477Z .../sharp@0.33.5/node_modules/sharp install$ node install/check
2025-01-08T01:17:11.948322Z .../sharp@0.33.5/node_modules/sharp install: Done
2025-01-08T01:17:24.190591Z
2025-01-08T01:17:24.190849Z dependencies:
2025-01-08T01:17:24.191491Z + @auth/drizzle-adapter 1.7.4
2025-01-08T01:17:24.191613Z + @cloudflare/next-on-pages 1.13.7
2025-01-08T01:17:24.191874Z + @radix-ui/react-alert-dialog 1.1.4
2025-01-08T01:17:24.192054Z + @radix-ui/react-dialog 1.1.4
2025-01-08T01:17:24.19221Z + @radix-ui/react-label 2.1.1
2025-01-08T01:17:24.192349Z + @radix-ui/react-radio-group 1.2.2
2025-01-08T01:17:24.192472Z + @radix-ui/react-select 2.1.4
2025-01-08T01:17:24.192584Z + @radix-ui/react-slot 1.1.1
2025-01-08T01:17:24.192716Z + @radix-ui/react-switch 1.1.2
2025-01-08T01:17:24.192827Z + @radix-ui/react-toast 1.2.4
2025-01-08T01:17:24.192955Z + @radix-ui/react-tooltip 1.1.6
2025-01-08T01:17:24.193082Z + @tailwindcss/typography 0.5.16
2025-01-08T01:17:24.19319Z + class-variance-authority 0.7.1
2025-01-08T01:17:24.193297Z + clsx 2.1.1
2025-01-08T01:17:24.19341Z + drizzle-orm 0.36.4 (0.38.3 is available)
2025-01-08T01:17:24.193565Z + lucide-react 0.468.0 (0.469.0 is available)
2025-01-08T01:17:24.193719Z + nanoid 5.0.9
2025-01-08T01:17:24.193857Z + next 15.1.1 (15.1.4 is available)
2025-01-08T01:17:24.193969Z + next-auth 5.0.0-beta.25
2025-01-08T01:17:24.194078Z + next-pwa 5.6.0
2025-01-08T01:17:24.194186Z + next-themes 0.2.1 (0.4.4 is available)
2025-01-08T01:17:24.194278Z + postal-mime 2.4.1
2025-01-08T01:17:24.194377Z + react 19.0.0
2025-01-08T01:17:24.194473Z + react-dom 19.0.0
2025-01-08T01:17:24.194574Z + tailwind-merge 2.6.0
2025-01-08T01:17:24.194723Z + tailwindcss-animate 1.0.7
2025-01-08T01:17:24.194827Z + zod 3.24.1
2025-01-08T01:17:24.194934Z
2025-01-08T01:17:24.195032Z devDependencies:
2025-01-08T01:17:24.195131Z + @cloudflare/workers-types 4.20241230.0
2025-01-08T01:17:24.19527Z + @iarna/toml 3.0.0
2025-01-08T01:17:24.195389Z + @types/bun 1.1.15
2025-01-08T01:17:24.195494Z + @types/next-pwa 5.6.9
2025-01-08T01:17:24.195592Z + @types/node 20.17.12 (22.10.5 is available)
2025-01-08T01:17:24.195706Z + @types/react 18.3.18 (19.0.3 is available)
2025-01-08T01:17:24.195806Z + @types/react-dom 18.3.5 (19.0.2 is available)
2025-01-08T01:17:24.195889Z + bun 1.1.42
2025-01-08T01:17:24.195967Z + drizzle-kit 0.28.1 (0.30.1 is available)
2025-01-08T01:17:24.196045Z + eslint 8.57.1 (9.17.0 is available) deprecated
2025-01-08T01:17:24.196105Z + eslint-config-next 15.0.3 (15.1.4 is available)
2025-01-08T01:17:24.196187Z + postcss 8.4.49
2025-01-08T01:17:24.196284Z + tailwindcss 3.4.17
2025-01-08T01:17:24.196386Z + typescript 5.7.2
2025-01-08T01:17:24.196501Z + vercel 39.1.1 (39.2.6 is available)
2025-01-08T01:17:24.196606Z + wrangler 3.100.0
2025-01-08T01:17:24.19672Z
2025-01-08T01:17:24.196822Z  WARN  Issues with peer dependencies found
2025-01-08T01:17:24.196923Z .
2025-01-08T01:17:24.196995Z └─┬ @types/next-pwa 5.6.9
2025-01-08T01:17:24.197089Z └─┬ next 13.5.8
2025-01-08T01:17:24.197187Z ├── ✕ unmet peer react@^18.2.0: found 19.0.0
2025-01-08T01:17:24.197292Z └── ✕ unmet peer react-dom@^18.2.0: found 19.0.0
2025-01-08T01:17:24.197384Z
2025-01-08T01:17:24.197525Z Done in 33.3s
2025-01-08T01:17:24.365568Z Executing user command: npx @cloudflare/next-on-pages@1
2025-01-08T01:17:28.473525Z ️ @cloudflare/next-on-pages CLI v.1.13.7
2025-01-08T01:17:28.815818Z ️ Detected Package Manager: npm (9.6.7)
2025-01-08T01:17:28.816102Z ️ Preparing project...
2025-01-08T01:17:28.819257Z ️ Project is ready
2025-01-08T01:17:28.819466Z ️ Building project...
2025-01-08T01:17:29.7207Z ▲ Vercel CLI 39.1.1
2025-01-08T01:17:29.728528Z ▲ > NOTE: The Vercel CLI now collects telemetry regarding usage of the CLI.
2025-01-08T01:17:29.728859Z ▲ > This information is used to shape the CLI roadmap and prioritize features.
2025-01-08T01:17:29.728969Z ▲ > You can learn more, including how to opt-out if you'd not like to participate in this program, by visiting the following URL:
2025-01-08T01:17:29.729168Z ▲ > https://vercel.com/docs/cli/about-telemetry
2025-01-08T01:17:30.119673Z ▲ Detected pnpm-lock.yaml version 6 generated by pnpm@8.x
2025-01-08T01:17:30.14527Z ▲ Installing dependencies...
2025-01-08T01:17:30.725438Z ▲ Lockfile is up to date, resolution step is skipped
2025-01-08T01:17:30.857836Z ▲ Already up to date
2025-01-08T01:17:34.577384Z ▲
2025-01-08T01:17:36.775334Z ▲ Done in 6.5s
2025-01-08T01:17:36.806922Z ▲ Detected Next.js version: 15.1.1
2025-01-08T01:17:36.829963Z ▲ Running "pnpm run build"
2025-01-08T01:17:37.286459Z ▲ > moemail@0.1.0 build /opt/buildhome/repo
2025-01-08T01:17:37.286859Z ▲ > next build
2025-01-08T01:17:37.446961Z ▲ You are using Node.js 18.17.1. For Next.js, Node.js version "^18.18.0 || ^19.8.0 || >= 20.0.0" is required.
2025-01-08T01:17:37.458142Z ▲ ELIFECYCLE  Command failed with exit code 1.
2025-01-08T01:17:37.493492Z ▲ Error: Command "pnpm run build" exited with 1
2025-01-08T01:17:37.531941Z
2025-01-08T01:17:37.532551Z ️ The Vercel build (npx vercel build) command failed. For more details see the Vercel logs above.
2025-01-08T01:17:37.532748Z ️ If you need help solving the issue, refer to the Vercel or Next.js documentation or their repositories.
2025-01-08T01:17:37.533237Z
2025-01-08T01:17:37.553234Z Failed: Error while executing user command. Exited with error code: 1
2025-01-08T01:17:37.564261Z Failed: build command exited with code: 1
2025-01-08T01:17:38.39294Z Failed: error occurred while running build command”

Originally created by @2754026865 on GitHub (Jan 8, 2025). Original GitHub issue: https://github.com/beilunyang/moemail/issues/16 每次在github中修改完“master”分支的代码后,cloudflare都会自动启动部署,但每次都会失败,下面是报错。 “2025-01-08T01:16:47.160012Z Cloning repository... 2025-01-08T01:16:47.836355Z From https://github.com/2754026865/moemail 2025-01-08T01:16:47.837236Z * branch 7b9a2df145daf55fa63da6558de7e8241f5bd48d -> FETCH_HEAD 2025-01-08T01:16:47.837437Z 2025-01-08T01:16:47.897773Z HEAD is now at 7b9a2df fix: deploy pages script 2025-01-08T01:16:47.898192Z 2025-01-08T01:16:47.979212Z 2025-01-08T01:16:47.979904Z Using v2 root directory strategy 2025-01-08T01:16:48.000552Z Success: Finished cloning repository files 2025-01-08T01:16:49.438226Z Checking for configuration in a Wrangler configuration file (BETA) 2025-01-08T01:16:49.439301Z 2025-01-08T01:16:49.544494Z No wrangler.toml file found. Continuing. 2025-01-08T01:16:49.69467Z Detected the following tools from environment: npm@9.6.7, pnpm@8.7.1, nodejs@18.17.1 2025-01-08T01:16:50.479164Z Installing project dependencies: pnpm install 2025-01-08T01:16:51.188216Z  WARN  Ignoring not compatible lockfile at /opt/buildhome/repo/pnpm-lock.yaml 2025-01-08T01:16:51.402009Z Progress: resolved 1, reused 0, downloaded 0, added 0 2025-01-08T01:16:51.565009Z  WARN  deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options. 2025-01-08T01:16:52.402943Z Progress: resolved 33, reused 0, downloaded 28, added 0 2025-01-08T01:16:53.787456Z Progress: resolved 44, reused 0, downloaded 42, added 0 2025-01-08T01:16:54.330066Z  WARN  deprecated @esbuild-kit/esm-loader@2.6.5: Merged into tsx: https://tsx.is 2025-01-08T01:16:54.809689Z Progress: resolved 81, reused 0, downloaded 61, added 0 2025-01-08T01:16:55.499206Z  WARN  deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead 2025-01-08T01:16:55.810407Z Progress: resolved 100, reused 0, downloaded 75, added 0 2025-01-08T01:16:56.810154Z Progress: resolved 114, reused 0, downloaded 88, added 0 2025-01-08T01:16:57.82298Z Progress: resolved 144, reused 0, downloaded 122, added 0 2025-01-08T01:16:58.826215Z Progress: resolved 209, reused 0, downloaded 183, added 0 2025-01-08T01:16:59.287817Z  WARN  deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported 2025-01-08T01:16:59.881453Z Progress: resolved 247, reused 0, downloaded 207, added 0 2025-01-08T01:16:59.987758Z  WARN  deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser 2025-01-08T01:17:00.364985Z  WARN  deprecated workbox-google-analytics@6.6.0: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained 2025-01-08T01:17:00.826988Z  WARN  deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0 2025-01-08T01:17:00.921145Z Progress: resolved 280, reused 0, downloaded 230, added 0 2025-01-08T01:17:01.21712Z  WARN  deprecated @esbuild-kit/core-utils@3.3.2: Merged into tsx: https://tsx.is 2025-01-08T01:17:01.383157Z  WARN  deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead 2025-01-08T01:17:01.969116Z Progress: resolved 363, reused 0, downloaded 297, added 0 2025-01-08T01:17:02.972594Z Progress: resolved 419, reused 0, downloaded 327, added 0 2025-01-08T01:17:03.597358Z  WARN  deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) 2025-01-08T01:17:03.80475Z  WARN  deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. 2025-01-08T01:17:03.978016Z Progress: resolved 499, reused 0, downloaded 376, added 0 2025-01-08T01:17:04.617346Z  WARN  deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. 2025-01-08T01:17:04.979178Z Progress: resolved 620, reused 0, downloaded 477, added 0 2025-01-08T01:17:05.414976Z  WARN  deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported 2025-01-08T01:17:05.824452Z  WARN  deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject. 2025-01-08T01:17:05.979988Z Progress: resolved 780, reused 0, downloaded 624, added 0 2025-01-08T01:17:06.143171Z  WARN  deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported 2025-01-08T01:17:06.538178Z  WARN  deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead 2025-01-08T01:17:06.83289Z  WARN  deprecated npmlog@5.0.1: This package is no longer supported. 2025-01-08T01:17:06.980168Z Progress: resolved 1005, reused 0, downloaded 803, added 0 2025-01-08T01:17:07.149189Z  WARN  deprecated are-we-there-yet@2.0.0: This package is no longer supported. 2025-01-08T01:17:07.151659Z  WARN  deprecated gauge@3.0.2: This package is no longer supported. 2025-01-08T01:17:08.027003Z Progress: resolved 1123, reused 0, downloaded 963, added 0 2025-01-08T01:17:08.035359Z Packages: +978 2025-01-08T01:17:08.035713Z ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2025-01-08T01:17:09.030242Z Progress: resolved 1123, reused 0, downloaded 979, added 513 2025-01-08T01:17:10.030327Z Progress: resolved 1123, reused 0, downloaded 979, added 975 2025-01-08T01:17:10.260172Z Progress: resolved 1123, reused 0, downloaded 979, added 978, done 2025-01-08T01:17:10.660085Z .../esbuild@0.15.18/node_modules/esbuild postinstall$ node install.js 2025-01-08T01:17:10.661296Z .../esbuild@0.14.47/node_modules/esbuild postinstall$ node install.js 2025-01-08T01:17:10.899937Z .../esbuild@0.18.20/node_modules/esbuild postinstall$ node install.js 2025-01-08T01:17:10.90062Z .../esbuild@0.17.19/node_modules/esbuild postinstall$ node install.js 2025-01-08T01:17:11.004158Z .../esbuild@0.15.18/node_modules/esbuild postinstall: Done 2025-01-08T01:17:11.00952Z .../esbuild@0.14.47/node_modules/esbuild postinstall: Done 2025-01-08T01:17:11.017408Z .../.pnpm/bun@1.1.42/node_modules/bun postinstall$ node install.js 2025-01-08T01:17:11.078391Z .../esbuild@0.18.20/node_modules/esbuild postinstall: Done 2025-01-08T01:17:11.086072Z .../esbuild@0.17.19/node_modules/esbuild postinstall: Done 2025-01-08T01:17:11.13081Z .../esbuild@0.19.12/node_modules/esbuild postinstall$ node install.js 2025-01-08T01:17:11.205222Z .../.pnpm/bun@1.1.42/node_modules/bun postinstall: Done 2025-01-08T01:17:11.245121Z .../node_modules/workerd postinstall$ node install.js 2025-01-08T01:17:11.368414Z .../esbuild@0.19.12/node_modules/esbuild postinstall: Done 2025-01-08T01:17:11.451007Z .../node_modules/workerd postinstall: Done 2025-01-08T01:17:11.795477Z .../sharp@0.33.5/node_modules/sharp install$ node install/check 2025-01-08T01:17:11.948322Z .../sharp@0.33.5/node_modules/sharp install: Done 2025-01-08T01:17:24.190591Z 2025-01-08T01:17:24.190849Z dependencies: 2025-01-08T01:17:24.191491Z + @auth/drizzle-adapter 1.7.4 2025-01-08T01:17:24.191613Z + @cloudflare/next-on-pages 1.13.7 2025-01-08T01:17:24.191874Z + @radix-ui/react-alert-dialog 1.1.4 2025-01-08T01:17:24.192054Z + @radix-ui/react-dialog 1.1.4 2025-01-08T01:17:24.19221Z + @radix-ui/react-label 2.1.1 2025-01-08T01:17:24.192349Z + @radix-ui/react-radio-group 1.2.2 2025-01-08T01:17:24.192472Z + @radix-ui/react-select 2.1.4 2025-01-08T01:17:24.192584Z + @radix-ui/react-slot 1.1.1 2025-01-08T01:17:24.192716Z + @radix-ui/react-switch 1.1.2 2025-01-08T01:17:24.192827Z + @radix-ui/react-toast 1.2.4 2025-01-08T01:17:24.192955Z + @radix-ui/react-tooltip 1.1.6 2025-01-08T01:17:24.193082Z + @tailwindcss/typography 0.5.16 2025-01-08T01:17:24.19319Z + class-variance-authority 0.7.1 2025-01-08T01:17:24.193297Z + clsx 2.1.1 2025-01-08T01:17:24.19341Z + drizzle-orm 0.36.4 (0.38.3 is available) 2025-01-08T01:17:24.193565Z + lucide-react 0.468.0 (0.469.0 is available) 2025-01-08T01:17:24.193719Z + nanoid 5.0.9 2025-01-08T01:17:24.193857Z + next 15.1.1 (15.1.4 is available) 2025-01-08T01:17:24.193969Z + next-auth 5.0.0-beta.25 2025-01-08T01:17:24.194078Z + next-pwa 5.6.0 2025-01-08T01:17:24.194186Z + next-themes 0.2.1 (0.4.4 is available) 2025-01-08T01:17:24.194278Z + postal-mime 2.4.1 2025-01-08T01:17:24.194377Z + react 19.0.0 2025-01-08T01:17:24.194473Z + react-dom 19.0.0 2025-01-08T01:17:24.194574Z + tailwind-merge 2.6.0 2025-01-08T01:17:24.194723Z + tailwindcss-animate 1.0.7 2025-01-08T01:17:24.194827Z + zod 3.24.1 2025-01-08T01:17:24.194934Z 2025-01-08T01:17:24.195032Z devDependencies: 2025-01-08T01:17:24.195131Z + @cloudflare/workers-types 4.20241230.0 2025-01-08T01:17:24.19527Z + @iarna/toml 3.0.0 2025-01-08T01:17:24.195389Z + @types/bun 1.1.15 2025-01-08T01:17:24.195494Z + @types/next-pwa 5.6.9 2025-01-08T01:17:24.195592Z + @types/node 20.17.12 (22.10.5 is available) 2025-01-08T01:17:24.195706Z + @types/react 18.3.18 (19.0.3 is available) 2025-01-08T01:17:24.195806Z + @types/react-dom 18.3.5 (19.0.2 is available) 2025-01-08T01:17:24.195889Z + bun 1.1.42 2025-01-08T01:17:24.195967Z + drizzle-kit 0.28.1 (0.30.1 is available) 2025-01-08T01:17:24.196045Z + eslint 8.57.1 (9.17.0 is available) deprecated 2025-01-08T01:17:24.196105Z + eslint-config-next 15.0.3 (15.1.4 is available) 2025-01-08T01:17:24.196187Z + postcss 8.4.49 2025-01-08T01:17:24.196284Z + tailwindcss 3.4.17 2025-01-08T01:17:24.196386Z + typescript 5.7.2 2025-01-08T01:17:24.196501Z + vercel 39.1.1 (39.2.6 is available) 2025-01-08T01:17:24.196606Z + wrangler 3.100.0 2025-01-08T01:17:24.19672Z 2025-01-08T01:17:24.196822Z  WARN  Issues with peer dependencies found 2025-01-08T01:17:24.196923Z . 2025-01-08T01:17:24.196995Z └─┬ @types/next-pwa 5.6.9 2025-01-08T01:17:24.197089Z └─┬ next 13.5.8 2025-01-08T01:17:24.197187Z ├── ✕ unmet peer react@^18.2.0: found 19.0.0 2025-01-08T01:17:24.197292Z └── ✕ unmet peer react-dom@^18.2.0: found 19.0.0 2025-01-08T01:17:24.197384Z 2025-01-08T01:17:24.197525Z Done in 33.3s 2025-01-08T01:17:24.365568Z Executing user command: npx @cloudflare/next-on-pages@1 2025-01-08T01:17:28.473525Z ⚡️ @cloudflare/next-on-pages CLI v.1.13.7 2025-01-08T01:17:28.815818Z ⚡️ Detected Package Manager: npm (9.6.7) 2025-01-08T01:17:28.816102Z ⚡️ Preparing project... 2025-01-08T01:17:28.819257Z ⚡️ Project is ready 2025-01-08T01:17:28.819466Z ⚡️ Building project... 2025-01-08T01:17:29.7207Z ▲ Vercel CLI 39.1.1 2025-01-08T01:17:29.728528Z ▲ > NOTE: The Vercel CLI now collects telemetry regarding usage of the CLI. 2025-01-08T01:17:29.728859Z ▲ > This information is used to shape the CLI roadmap and prioritize features. 2025-01-08T01:17:29.728969Z ▲ > You can learn more, including how to opt-out if you'd not like to participate in this program, by visiting the following URL: 2025-01-08T01:17:29.729168Z ▲ > https://vercel.com/docs/cli/about-telemetry 2025-01-08T01:17:30.119673Z ▲ Detected `pnpm-lock.yaml` version 6 generated by pnpm@8.x 2025-01-08T01:17:30.14527Z ▲ Installing dependencies... 2025-01-08T01:17:30.725438Z ▲ Lockfile is up to date, resolution step is skipped 2025-01-08T01:17:30.857836Z ▲ Already up to date 2025-01-08T01:17:34.577384Z ▲ 2025-01-08T01:17:36.775334Z ▲ Done in 6.5s 2025-01-08T01:17:36.806922Z ▲ Detected Next.js version: 15.1.1 2025-01-08T01:17:36.829963Z ▲ Running "pnpm run build" 2025-01-08T01:17:37.286459Z ▲ > moemail@0.1.0 build /opt/buildhome/repo 2025-01-08T01:17:37.286859Z ▲ > next build 2025-01-08T01:17:37.446961Z ▲ You are using Node.js 18.17.1. For Next.js, Node.js version "^18.18.0 || ^19.8.0 || >= 20.0.0" is required. 2025-01-08T01:17:37.458142Z ▲ ELIFECYCLE  Command failed with exit code 1. 2025-01-08T01:17:37.493492Z ▲ Error: Command "pnpm run build" exited with 1 2025-01-08T01:17:37.531941Z 2025-01-08T01:17:37.532551Z ⚡️ The Vercel build (`npx vercel build`) command failed. For more details see the Vercel logs above. 2025-01-08T01:17:37.532748Z ⚡️ If you need help solving the issue, refer to the Vercel or Next.js documentation or their repositories. 2025-01-08T01:17:37.533237Z 2025-01-08T01:17:37.553234Z Failed: Error while executing user command. Exited with error code: 1 2025-01-08T01:17:37.564261Z Failed: build command exited with code: 1 2025-01-08T01:17:38.39294Z Failed: error occurred while running build command”
kerem closed this issue 2026-02-26 12:17:34 +03:00
Author
Owner

@beilunyang commented on GitHub (Jan 9, 2025):

你应该是使用了Cloudflare的 “通过导入现有 Git 存储库创建”
截屏2025-01-09 23 44 00

请使用 Github Actions 实现自动部署

<!-- gh-comment-id:2580616819 --> @beilunyang commented on GitHub (Jan 9, 2025): 你应该是使用了Cloudflare的 “通过导入现有 Git 存储库创建” <img width="1349" alt="截屏2025-01-09 23 44 00" src="https://github.com/user-attachments/assets/8629b0cf-8599-4444-bb10-9dabe96e6b25" /> 请使用 Github Actions 实现自动部署
Author
Owner

@2754026865 commented on GitHub (Jan 10, 2025):

如果使用 Github Actions 实现自动部署,当github上提交新代码后,cf里能自动获取并部署吗?

<!-- gh-comment-id:2581834782 --> @2754026865 commented on GitHub (Jan 10, 2025): 如果使用 Github Actions 实现自动部署,当github上提交新代码后,cf里能自动获取并部署吗?
Author
Owner

@beilunyang commented on GitHub (Jan 10, 2025):

如果使用 Github Actions 实现自动部署,当github上提交新代码后,cf里能自动获取并部署吗?

不能。需要推送 Tag 或者去 Github Actions 页面手动触发

<!-- gh-comment-id:2583147159 --> @beilunyang commented on GitHub (Jan 10, 2025): > 如果使用 Github Actions 实现自动部署,当github上提交新代码后,cf里能自动获取并部署吗? 不能。需要推送 Tag 或者去 Github Actions 页面手动触发
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/moemail#11
No description provided.