Open Sammy-T opened 6 days ago
I just tried to reproduce this on MacOS and Windows and it worked both times. For example on Windows:
PS C:\Users\Admin\dev\temp\foo> pnpm run dev
> foo@1.0.0 dev C:\Users\Admin\dev\temp\foo
> wrangler pages dev site
⛅️ wrangler 3.62.0
-------------------
▲ [WARNING] No compatibility_date was specified. Using today's date: 2024-06-29.
❯❯ Add one to your wrangler.toml file: compatibility_date = "2024-06-29", or
❯❯ Pass it in your terminal: wrangler pages dev [<DIRECTORY>] --compatibility-date=2024-06-29
See https://developers.cloudflare.com/workers/platform/compatibility-dates/ for more information.
No functions. Shimming...
⎔ Starting local server...
[wrangler:inf] Ready on http://127.0.0.1:8788
[wrangler:inf] GET / 200 OK (19ms)
[wrangler:inf] GET /favicon.ico 200 OK (19ms)
Edition Windows 10 Pro Version 22H2 Installed on 01/04/2021 OS build 19045.4529 Experience Windows Feature Experience Pack 1000.19058.1000.0
Could you create a reproduction and push it to a github repository so that we can try it out?
Sure, I updated the description with a link to it.
Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
Wrangler v3.62.0
What version of Node are you using?
18.19.1
What operating system and version are you using?
Windows 10
Describe the Bug
Observed behavior
wrangler pages dev [directory]
fails on v3.62.0. The exact same command is successful using v3.61.0 though.Expected behavior
Successfully run the local server.
Steps to reproduce
site/index.html
"dev": "wrangler pages dev site"
pnpm i -D wrangler
ornpm i -D wrangler
pnpm run dev
ornpm run dev
(neither worked for me.)Please provide a link to a minimal reproduction
https://github.com/Sammy-T/wrangler-pages-err
Please provide any relevant error logs