-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
pagesRelating to PagesRelating to Pages
Description
What versions & operating system are you using?
Note
I am not directly using wrangler, but am using it through the Cloudflare Pages.
I am not certain if this repository contains code for generating attached logs.
System:
OS: Windows 11 10.0.26200
CPU: (8) x64 Intel(R) Core(TM) Ultra 7 258V
Memory: 9.41 GB / 31.48 GB
Binaries:
Node: 24.12.0 - C:\Users\hyunb\AppData\Local\fnm_multishells\11728_1765560385450\node.EXE
npm: 11.6.2 - C:\Users\hyunb\AppData\Local\fnm_multishells\11728_1765560385450\npm.CMD
pnpm: 10.25.0 - C:\Users\hyunb\AppData\Local\fnm_multishells\11728_1765560385450\pnpm.CMD
Deno: 2.4.0 - C:\Users\hyunb\.deno\bin\deno.EXE
npmPackages:
wrangler: ^4.54.0 => 4.54.0
Please provide a link to a minimal reproduction
hyunbinseo/svelte-kit-cloudflare@919aaa5
Describe the Bug
I have created a wrangler.jsonc file in the project root.
It is correctly parsed since the nodejs_compat flag is correctly set.
But the log mentions nonexistent wrangler.json and wrangler.toml filenames:
Example 1:
Found wrangler.json file. Reading build configuration...
A wrangler.toml file was found but it does not appear to be valid.
Example 2:
Found wrangler.json file. Reading build configuration...
Successfully read wrangler.toml file.
This was causing headaches for me. sveltejs/kit#14926
Please provide any relevant error logs
2025-12-12T17:06:53.01856Z Found wrangler.json file. Reading build configuration...
2025-12-12T17:06:54.125852Z A wrangler.toml file was found but it does not appear to be valid. Did you mean to use wrangler.toml to configure Pages? If so, then make sure the file is valid and contains the `pages_build_output_dir` property. Skipping file and continuing.
2025-12-12T17:13:18.12032Z Cloning repository...
2025-12-12T17:13:18.703368Z From https://github.com/hyunbinseo/svelte-kit-cloudflare
2025-12-12T17:13:18.704078Z * branch 919aaa5c80a59060852850fec129119354db38aa -> FETCH_HEAD
2025-12-12T17:13:18.704229Z
2025-12-12T17:13:18.730784Z HEAD is now at 919aaa5 chore: wrangler config for pages
2025-12-12T17:13:18.731291Z
2025-12-12T17:13:18.799519Z
2025-12-12T17:13:18.800064Z Using v2 root directory strategy
2025-12-12T17:13:18.820282Z Success: Finished cloning repository files
2025-12-12T17:13:20.714188Z Checking for configuration in a Wrangler configuration file (BETA)
2025-12-12T17:13:20.71492Z
2025-12-12T17:13:20.715727Z Found wrangler.json file. Reading build configuration...
2025-12-12T17:13:20.722237Z pages_build_output_dir: .svelte-kit/cloudflare
2025-12-12T17:13:20.722483Z Build environment variables: (none found)
2025-12-12T17:13:21.823342Z Successfully read wrangler.toml file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
pagesRelating to PagesRelating to Pages
Type
Projects
Status
Done