Created
July 26, 2025 01:36
-
-
Save waptik/7560b4350ab30698981a5dc867e81514 to your computer and use it in GitHub Desktop.
bts-monorepo workers-vite deploy errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
> @woym/server@ deploy /Users/waptik/labs/woym/apps/server | |
> wrangler deploy | |
⛅️ wrangler 4.25.1 (update available 4.26.0) | |
───────────────────────────────────────────── | |
Using redirected Wrangler configuration. | |
- Configuration being used: "dist/woym_template_api/wrangler.json" | |
- Original user's configuration: "wrangler.jsonc" | |
- Deploy configuration file: ".wrangler/deploy/config.json" | |
Retrieving cached values for account from node_modules/.cache/wrangler | |
Saving to cache: {"account":{"id":"xxx","name":""}} | |
Starting verifyWorkerMatchesCITag() with tag: undefined, name: woym-template-api | |
No WRANGLER_CI_MATCH_TAG variable provided, aborting verifyWorkerMatchesCITag() | |
-- START CF API REQUEST: GET https://api.cloudflare.com/client/v4/accounts/xxxxxx/workers/services/woym-template-api | |
QUERY STRING: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
HEADERS: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
INIT: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
-- END CF API REQUEST | |
-- START CF API RESPONSE: Not Found 404 | |
HEADERS: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
RESPONSE: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
-- END CF API RESPONSE | |
-- START CF API REQUEST: GET https://api.cloudflare.com/client/v4/accounts/xxxx/workers/scripts/woym-template-api/deployments | |
QUERY STRING: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
HEADERS: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
INIT: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
-- END CF API REQUEST | |
-- START CF API RESPONSE: Not Found 404 | |
HEADERS: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
RESPONSE: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
-- END CF API RESPONSE | |
Attaching additional modules: | |
┌───────────────────────────────────────┬──────┬──────────┐ | |
│ Name │ Type │ Size │ | |
├───────────────────────────────────────┼──────┼──────────┤ | |
│ assets/bun-sqlite-dialect-C2u1x0IO.js │ esm │ 4.41 KiB │ | |
├───────────────────────────────────────┼──────┼──────────┤ | |
│ Total (1 module) │ │ 4.41 KiB │ | |
└───────────────────────────────────────┴──────┴──────────┘ | |
Total Upload: 1869.46 KiB / gzip: 340.44 KiB | |
-- START CF API REQUEST: PUT https://api.cloudflare.com/client/v4/accounts/xxxx/workers/scripts/woym-template-api | |
QUERY STRING: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
HEADERS: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
INIT: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
BODY: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
-- END CF API REQUEST | |
-- START CF API RESPONSE: Bad Request 400 | |
HEADERS: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
RESPONSE: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
-- END CF API RESPONSE | |
✘ [ERROR] A request to the Cloudflare API (/accounts/xxxx/workers/scripts/woym-template-api) failed. | |
Uncaught TypeError: The argument 'path' The argument must be a file URL object, a file URL | |
string, or an absolute path string.. Received 'undefined' | |
at null.<anonymous> (node:module:12:15) in createRequire | |
at null.<anonymous> (index.js:8117:38) in createRequire | |
at null.<anonymous> (index.js:8132:1) | |
[code: 10021] | |
If you think this is a bug, please open an issue at: | |
https://github.com/cloudflare/workers-sdk/issues/new/choose | |
Metrics dispatcher: Posting data {"deviceId":"54ab8815-4873-a2e5-318eecfa41b1","event":"wran | |
gler command errored","timestamp":1753489397586,"properties":{"amplitude_session_id":175348938680 | |
6,"amplitude_event_id":1,"wranglerVersion":"4.25.1","osPlatform":"Mac OS","osVersion":"Darwin Ker | |
nel Version 24.5.0: Tue Apr 22 19:53:26 PDT 2025; root:xnu-11417.121.6~2/RELEASE_X86_64","nodeVer | |
sion":22,"packageManager":"pnpm","isFirstUsage":false,"configFileType":"jsonc","isCI":false,"isPa | |
gesCI":false,"isWorkersCI":false,"isInteractive":true,"hasAssets":false,"argsUsed":[],"argsCombin | |
ation":"","command":"wrangler deploy","args":{"xJsonConfig":true,"j":true,"noBundle":false,"lates | |
t":false,"keepVars":false,"xAutoCreate":true},"durationMs":10821,"durationSeconds":10.821,"durati | |
onMinutes":0.18034999999999998,"errorType":"APIError"}} | |
ELIFECYCLE Command failed with exit code 1. | |
command finished with error: command (/Users/waptik/labs/woym/apps/server) /Users/waptik/.nvm/ver | |
sions/node/v22.17.1/bin/pnpm run deploy exited (1) | |
└─ @woym/server#deploy ── | |
@woym/server#deploy: command (/Users/waptik/labs/woym/apps/server) /Users/waptik/.nvm/versions/node/v22.17.1/bin/pnpm run deploy exited (1) | |
Tasks: 0 successful, 1 total | |
Cached: 0 cached, 1 total | |
Time: 14.322s | |
Failed: @woym/server#deploy | |
ERROR run failed: command exited (1) | |
ELIFECYCLE Command failed with exit code 1. | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
# with worker log | |
~/labs/woym/apps/server main* 00:41:32 | |
❯ pnpx wrangler deploy | |
Packages: +52 | |
++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
Progress: resolved 99, reused 51, downloaded 3, added 52, done | |
Cloudflare collects anonymous telemetry about your usage of Wrangler. Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md | |
⛅️ wrangler 4.26.0 | |
─────────────────── | |
Using redirected Wrangler configuration. | |
- Configuration being used: "dist/woym_template_api/wrangler.json" | |
- Original user's configuration: "wrangler.jsonc" | |
- Deploy configuration file: ".wrangler/deploy/config.json" | |
Retrieving cached values for account from node_modules/.cache/wrangler | |
Saving to cache: {"account":{"id":"xxx","name":""}} | |
Starting verifyWorkerMatchesCITag() with tag: undefined, name: woym-template-api | |
No WRANGLER_CI_MATCH_TAG variable provided, aborting verifyWorkerMatchesCITag() | |
-- START CF API REQUEST: GET https://api.cloudflare.com/client/v4/accounts/xxxx/workers/services/woym-template-api | |
QUERY STRING: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
HEADERS: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
INIT: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
-- END CF API REQUEST | |
-- START CF API RESPONSE: Not Found 404 | |
HEADERS: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
RESPONSE: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
-- END CF API RESPONSE | |
-- START CF API REQUEST: GET https://api.cloudflare.com/client/v4/accounts/xxxx/workers/scripts/woym-template-api/deployments | |
QUERY STRING: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
HEADERS: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
INIT: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
-- END CF API REQUEST | |
-- START CF API RESPONSE: Not Found 404 | |
HEADERS: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
RESPONSE: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
-- END CF API RESPONSE | |
Attaching additional modules: | |
┌───────────────────────────────────────┬──────┬──────────┐ | |
│ Name │ Type │ Size │ | |
├───────────────────────────────────────┼──────┼──────────┤ | |
│ assets/bun-sqlite-dialect-C2u1x0IO.js │ esm │ 4.41 KiB │ | |
├───────────────────────────────────────┼──────┼──────────┤ | |
│ Total (1 module) │ │ 4.41 KiB │ | |
└───────────────────────────────────────┴──────┴──────────┘ | |
Total Upload: 1869.46 KiB / gzip: 340.44 KiB | |
-- START CF API REQUEST: PUT https://api.cloudflare.com/client/v4/accounts/xxxx/workers/scripts/woym-template-api | |
QUERY STRING: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
HEADERS: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
INIT: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
BODY: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
-- END CF API REQUEST | |
-- START CF API RESPONSE: Bad Request 400 | |
HEADERS: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
RESPONSE: omitted; set WRANGLER_LOG_SANITIZE=false to include sanitized data | |
-- END CF API RESPONSE | |
✘ [ERROR] A request to the Cloudflare API (/accounts/xxxxxx/workers/scripts/woym-template-api) failed. | |
Uncaught TypeError: The argument 'path' The argument must be a file URL object, a file URL string, | |
or an absolute path string.. Received 'undefined' | |
at null.<anonymous> (node:module:12:15) in createRequire | |
at null.<anonymous> (index.js:8117:38) in createRequire | |
at null.<anonymous> (index.js:8132:1) | |
[code: 10021] | |
If you think this is a bug, please open an issue at: | |
https://github.com/cloudflare/workers-sdk/issues/new/choose | |
Metrics dispatcher: Posting data {"deviceId":"54ab8815-4873-a2e5-318eecfa41b1","event":"wrangler command errored","timestamp":1753490532719,"properties":{"amplitude_session_id":1753490520683,"amplitude_event_id":1,"wranglerVersion":"4.26.0","osPlatform":"Mac OS","osVersion":"Darwin Kernel Version 24.5.0: Tue Apr 22 19:53:26 PDT 2025; root:xnu-11417.121.6~2/RELEASE_X86_64","nodeVersion":22,"packageManager":"pnpm","isFirstUsage":false,"configFileType":"jsonc","isCI":false,"isPagesCI":false,"isWorkersCI":false,"isInteractive":true,"hasAssets":false,"argsUsed":[],"argsCombination":"","command":"wrangler deploy","args":{"xJsonConfig":true,"j":true,"noBundle":false,"latest":false,"keepVars":false,"xAutoCreate":true},"durationMs":12058,"durationSeconds":12.058,"durationMinutes":0.20096666666666665,"errorType":"APIError"}} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment