Skip to content

Cloudflare 部署失败 #162

@darklouswoo

Description

@darklouswoo

尝试了一下fork之后,在CF的dashboard导入进行部署,但不成功,似乎是out of memory

2026-04-23T17:08:35.218Z	Initializing build environment...
2026-04-23T17:08:39.393Z	Success: Finished initializing build environment
2026-04-23T17:08:40.379Z	Cloning repository...
2026-04-23T17:08:44.764Z	Restoring from dependencies cache
2026-04-23T17:08:44.766Z	Restoring from build output cache
2026-04-23T17:08:47.750Z	Detected the following tools from environment: yarn@1.22.22, nodejs@22.16.0
2026-04-23T17:08:48.681Z	Installing project dependencies: yarn --frozen-lockfile --no-progress --emoji false
2026-04-23T17:08:49.215Z	yarn install v1.22.22
2026-04-23T17:08:49.361Z	[1/5] Validating package.json...
2026-04-23T17:08:49.366Z	[2/5] Resolving packages...
2026-04-23T17:08:49.941Z	[3/5] Fetching packages...
2026-04-23T17:10:00.183Z	warning bare-fs@4.7.0: The engine "bare" appears to be invalid.
2026-04-23T17:10:00.188Z	warning bare-os@3.8.7: The engine "bare" appears to be invalid.
2026-04-23T17:10:00.189Z	[4/5] Linking dependencies...
2026-04-23T17:10:00.198Z	warning "@nuxt/icon > @nuxt/devtools-kit@2.7.0" has unmet peer dependency "vite@>=6.0".
2026-04-23T17:10:00.205Z	warning "@sentry/nuxt > @sentry/rollup-plugin@4.6.0" has unmet peer dependency "rollup@>=3.2.0".
2026-04-23T17:10:00.211Z	warning "nuxt > @nuxt/devtools@3.0.1" has unmet peer dependency "vite@>=6.0".
2026-04-23T17:10:00.211Z	warning "nuxt > unplugin-vue-router@0.16.1" has unmet peer dependency "@vue/compiler-sfc@^3.5.17".
2026-04-23T17:10:00.212Z	warning "nuxt > @nuxt/devtools > @nuxt/devtools-kit@3.0.1" has unmet peer dependency "vite@>=6.0".
2026-04-23T17:10:00.215Z	warning "nuxt > @nuxt/devtools > vite-plugin-inspect@11.3.3" has unmet peer dependency "vite@^6.0.0 || ^7.0.0-0".
2026-04-23T17:10:00.215Z	warning "nuxt > @nuxt/devtools > vite-plugin-vue-tracer@1.1.1" has unmet peer dependency "vite@^6.0.0 || ^7.0.0".
2026-04-23T17:10:00.215Z	warning "nuxt > @nuxt/devtools > @vue/devtools-core > vite-hot-client@2.1.0" has unmet peer dependency "vite@^2.6.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 || ^7.0.0-0".
2026-04-23T17:10:00.216Z	warning "nuxt > @nuxt/devtools > vite-plugin-inspect > vite-dev-rpc@1.1.0" has unmet peer dependency "vite@^2.9.0 || ^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0 || ^6.0.1 || ^7.0.0-0".
2026-04-23T17:10:00.219Z	warning "nuxt-monaco-editor > vite-plugin-static-copy@3.1.4" has unmet peer dependency "vite@^5.0.0 || ^6.0.0 || ^7.0.0".
2026-04-23T17:10:00.220Z	warning " > v-calendar@3.1.2" has unmet peer dependency "@popperjs/core@^2.0.0".
2026-04-23T17:10:00.221Z	warning " > tailwindcss-debug-screens@2.2.1" has unmet peer dependency "tailwindcss@^1.0 || ^2.0 || ^3.0.0-alpha.1 || ^3.0".
2026-04-23T17:10:00.253Z	warning Workspaces can only be enabled in private projects.
2026-04-23T17:10:31.472Z	[5/5] Building fresh packages...
2026-04-23T17:10:48.463Z	$ nuxt prepare
2026-04-23T17:10:50.608Z	[info] [nuxt:tailwindcss] Using default Tailwind CSS file
2026-04-23T17:10:50.621Z	[warn] [umami] id is missing or incorrectly configured. Check module config.
2026-04-23T17:10:50.622Z	[warn] [umami] Your API endpoint is missing or incorrectly configured. Check `host` and/or `customEndpoint` in module config.
2026-04-23T17:10:50.622Z	[info] [umami] Currently running in test mode due to incorrect/missing options.
2026-04-23T17:10:51.609Z	[info] Nuxt Icon server bundle mode is set to `remote`
2026-04-23T17:10:52.420Z	[success] [nuxi] Types generated in .nuxt
2026-04-23T17:10:52.685Z	Done in 123.48s.
2026-04-23T17:10:52.975Z	Executing user build command: yarn run build
2026-04-23T17:10:53.579Z	yarn run v1.22.22
2026-04-23T17:10:53.618Z	$ nuxt build
2026-04-23T17:10:54.001Z	[log] [nuxi] Nuxt 3.20.1 (with Nitro 2.12.9, Vite 7.2.2 and Vue 3.5.24)
2026-04-23T17:10:55.127Z	[info] [nuxt:tailwindcss] Using default Tailwind CSS file
2026-04-23T17:10:55.137Z	[warn] [umami] id is missing or incorrectly configured. Check module config.
2026-04-23T17:10:55.137Z	[warn] [umami] Your API endpoint is missing or incorrectly configured. Check `host` and/or `customEndpoint` in module config.
2026-04-23T17:10:55.137Z	[info] [umami] Currently running in test mode due to incorrect/missing options.
2026-04-23T17:10:55.844Z	[info] Nuxt Icon server bundle mode is set to `remote`
2026-04-23T17:10:56.083Z	[info] [nuxi] Building for Nitro preset: `cloudflare-module`
2026-04-23T17:10:56.919Z	[warn] [baseline-browser-mapping] The data in this module is over two months old.  To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
2026-04-23T17:10:57.525Z	[info] Building client...
2026-04-23T17:10:57.554Z	[info] vite v7.2.2 building client environment for production...
2026-04-23T17:10:57.615Z	[info] transforming...
2026-04-23T17:12:03.424Z	[info] ✓ 4024 modules transformed.
2026-04-23T17:12:04.508Z	[warn] utils/index.ts (194:4): Use of eval in "utils/index.ts" is strongly discouraged as it poses security risks and may cause issues with minification.
2026-04-23T17:12:04.509Z	[warn] utils/index.ts (230:6): Use of eval in "utils/index.ts" is strongly discouraged as it poses security risks and may cause issues with minification.
2026-04-23T17:12:04.509Z	[warn] utils/index.ts (254:10): Use of eval in "utils/index.ts" is strongly discouraged as it poses security risks and may cause issues with minification.
2026-04-23T17:12:04.509Z	[warn] utils/index.ts (446:6): Use of eval in "utils/index.ts" is strongly discouraged as it poses security risks and may cause issues with minification.
2026-04-23T17:12:04.509Z	[warn] utils/index.ts (457:6): Use of eval in "utils/index.ts" is strongly discouraged as it poses security risks and may cause issues with minification.
2026-04-23T17:12:04.509Z	[warn] utils/index.ts (481:6): Use of eval in "utils/index.ts" is strongly discouraged as it poses security risks and may cause issues with minification.
2026-04-23T17:12:04.509Z	[warn] utils/index.ts (495:6): Use of eval in "utils/index.ts" is strongly discouraged as it poses security risks and may cause issues with minification.
2026-04-23T17:12:04.509Z	[warn] utils/index.ts (504:6): Use of eval in "utils/index.ts" is strongly discouraged as it poses security risks and may cause issues with minification.
2026-04-23T17:12:04.509Z	[warn] utils/index.ts (597:4): Use of eval in "utils/index.ts" is strongly discouraged as it poses security risks and may cause issues with minification.
2026-04-23T17:12:04.843Z	[warn] utils/download/Exporter.ts (651:6): Use of eval in "utils/download/Exporter.ts" is strongly discouraged as it poses security risks and may cause issues with minification.
2026-04-23T17:12:04.846Z	[warn] utils/download/Exporter.ts (747:8): Use of eval in "utils/download/Exporter.ts" is strongly discouraged as it poses security risks and may cause issues with minification.
2026-04-23T17:12:04.852Z	[warn] utils/download/Exporter.ts (771:12): Use of eval in "utils/download/Exporter.ts" is strongly discouraged as it poses security risks and may cause issues with minification.
2026-04-23T17:12:04.853Z	[warn] utils/download/Exporter.ts (840:8): Use of eval in "utils/download/Exporter.ts" is strongly discouraged as it poses security risks and may cause issues with minification.
2026-04-23T17:12:04.853Z	[warn] utils/download/Exporter.ts (851:8): Use of eval in "utils/download/Exporter.ts" is strongly discouraged as it poses security risks and may cause issues with minification.
2026-04-23T17:12:40.980Z	[info] rendering chunks...
2026-04-23T17:13:27.286Z	
2026-04-23T17:13:27.286Z	<--- Last few GCs --->
2026-04-23T17:13:27.286Z	
2026-04-23T17:13:27.286Z	[1273:0xeb39000]   151251 ms: Scavenge (reduce) (interleaved) 2013.9 (2075.2) -> 2013.6 (2072.4) MB, pooled: 0 MB, 25.86 / 0.00 ms  (average mu = 0.216, current mu = 0.164) allocation failure; 
2026-04-23T17:13:27.286Z	[1273:0xeb39000]   153637 ms: Mark-Compact (reduce) 2013.9 (2072.4) -> 2012.9 (2071.5) MB, pooled: 0 MB, 2372.33 / 0.00 ms  (+ 207.2 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 2644 ms) (average mu = 0.199, c
2026-04-23T17:13:27.286Z	
2026-04-23T17:13:27.286Z	<--- JS stacktrace --->
2026-04-23T17:13:27.286Z	
2026-04-23T17:13:27.286Z	FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
2026-04-23T17:13:27.287Z	----- Native stack trace -----
2026-04-23T17:13:27.287Z	
2026-04-23T17:13:27.293Z	 1: 0xe13fde node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/opt/buildhome/.asdf/installs/nodejs/22.16.0/bin/node]
2026-04-23T17:13:27.293Z	 2: 0x11d5070 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/opt/buildhome/.asdf/installs/nodejs/22.16.0/bin/node]
2026-04-23T17:13:27.300Z	 3: 0x11d5347 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/opt/buildhome/.asdf/installs/nodejs/22.16.0/bin/node]
2026-04-23T17:13:27.300Z	 4: 0x1402c05  [/opt/buildhome/.asdf/installs/nodejs/22.16.0/bin/node]
2026-04-23T17:13:27.300Z	 5: 0x1402c33  [/opt/buildhome/.asdf/installs/nodejs/22.16.0/bin/node]
2026-04-23T17:13:27.300Z	 6: 0x141bd0a  [/opt/buildhome/.asdf/installs/nodejs/22.16.0/bin/node]
2026-04-23T17:13:27.300Z	 7: 0x141eed8  [/opt/buildhome/.asdf/installs/nodejs/22.16.0/bin/node]
2026-04-23T17:13:27.300Z	 8: 0x1c84ba1  [/opt/buildhome/.asdf/installs/nodejs/22.16.0/bin/node]
2026-04-23T17:13:29.569Z	Aborted (core dumped)
2026-04-23T17:13:29.606Z	error Command failed with exit code 134.
2026-04-23T17:13:29.607Z	info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2026-04-23T17:13:29.685Z	Failed: error occurred while running build command

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions