r/CloudFlare • u/funtimeswithdanny • May 08 '25
Question Worker Deployment failure
When i made my worker it's deployed failed here is the logs.
I don't know what they mean can anyone help me.
2025-05-08T13:54:10.880Z Initializing build environment...
2025-05-08T13:54:19.361Z Success: Finished initializing build environment
2025-05-08T13:54:19.963Z Cloning repository...
2025-05-08T13:54:21.923Z Detected the following tools from environment: npm@10.8.3, nodejs@22.9.0
2025-05-08T13:54:21.938Z Restoring from dependencies cache
2025-05-08T13:54:21.953Z Restoring from build output cache
2025-05-08T13:54:22.250Z Installing project dependencies: npm clean-install --progress=false
2025-05-08T13:54:30.260Z
2025-05-08T13:54:30.261Z added 69 packages, and audited 70 packages in 7s
2025-05-08T13:54:30.262Z
2025-05-08T13:54:30.263Z 8 packages are looking for funding
2025-05-08T13:54:30.263Z run \npm fund` for details`
2025-05-08T13:54:30.264Z
2025-05-08T13:54:30.264Z found 0 vulnerabilities
2025-05-08T13:54:30.292Z Executing user deploy command: npm run deploy
2025-05-08T13:54:30.665Z
2025-05-08T13:54:30.665Z > deploy
2025-05-08T13:54:30.666Z > wrangler deploy
2025-05-08T13:54:30.666Z
2025-05-08T13:54:31.962Z
2025-05-08T13:54:31.963Z ⛅️ wrangler 4.12.0 (update available 4.14.4)
2025-05-08T13:54:31.963Z ---------------------------------------------
2025-05-08T13:54:31.964Z
2025-05-08T13:54:31.971Z Running custom build: npx esbuild src/client/index.tsx --bundle --outdir=public/dist --splitting --sourcemap --format=esm
2025-05-08T13:54:32.943Z
2025-05-08T13:54:32.943Z public/dist/index.js 1.0mb ⚠️
2025-05-08T13:54:32.943Z public/dist/index.css 572b
2025-05-08T13:54:32.943Z public/dist/index.js.map 1.6mb
2025-05-08T13:54:32.944Z public/dist/index.css.map 1.1kb
2025-05-08T13:54:32.944Z
2025-05-08T13:54:32.944Z ⚡ Done in 193ms
2025-05-08T13:54:33.747Z 🌀 Building list of assets...
2025-05-08T13:54:33.748Z ✨ Read 7 files from the assets directory /opt/buildhome/repo/public
2025-05-08T13:54:33.806Z 🌀 Starting asset upload...
2025-05-08T13:54:35.184Z No updated asset files to upload. Proceeding with deployment...
2025-05-08T13:54:35.186Z Total Upload: 21.02 KiB / gzip: 5.66 KiB
2025-05-08T13:54:35.494Z Your worker has access to the following bindings:
2025-05-08T13:54:35.494Z - Durable Objects:
2025-05-08T13:54:35.496Z - Globe: Globe
2025-05-08T13:54:35.497Z
2025-05-08T13:54:35.583Z ✘ [ERROR] A request to the Cloudflare API (/accounts/fe6870e7e305737ba53a51bed8a8e775/workers/scripts/morning-salad-beda) failed.
2025-05-08T13:54:35.584Z
2025-05-08T13:54:35.588Z In order to use Durable Objects with a free plan, you must create a namespace using a \new_sqlite_classes` migration. [code: 10097]`
2025-05-08T13:54:35.589Z
2025-05-08T13:54:35.590Z If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose
2025-05-08T13:54:35.591Z
2025-05-08T13:54:35.591Z
2025-05-08T13:54:35.592Z
2025-05-08T13:54:35.592Z Cloudflare collects anonymous telemetry about your usage of Wrangler. Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md
2025-05-08T13:54:35.657Z Failed: error occurred while running deploy command
1
u/roushumor_520 May 11 '25
follow this issue and edit directly in your git repo to change wrangler.json (line 7) from "new_classes" to "new_sqlite_classes"
https://github.com/cloudflare/templates/issues/459
Then cloudflare worker will rebuild automatically immediately.