workers-sdk icon indicating copy to clipboard operation
workers-sdk copied to clipboard

🐛 BUG: ✘ [ERROR] Could not read file: C:\Users\thepl\AppData\Local\Tempunterscale-jP6H51\wrangler.json

Open FJRG2007 opened this issue 1 year ago • 2 comments

Which Cloudflare product(s) does this pertain to?

Wrangler

What versions are you using?

3.0.0-rc.0

What operating system and version are you using?

Windows 11

Please provide a link to a minimal reproduction

No response

Describe the Bug

The error occurs because my user name is thepl and the path \thepl uses the \t as a tab and looks for the wrong path.

Please provide any relevant error logs

Image

FJRG2007 avatar Mar 28 '25 13:03 FJRG2007

Thanks for raising this issue. It looks like what's happening is that your terminal is interpreting \t characters as literal spaces, which is causing display oddness. There are a few bug reports related to this on GitHub, and I'd recommend following those to see when a fix lands e.g. https://github.com/microsoft/terminal/issues/7810.

In terms of the actual file not found error, it looks like you're using a very old version of Wrangler v3.0.0-rc.0. Could you try updating to the latest v4 release with npm install wrangler@latest?

On the basis that this is probably due to the old version of Wrangler in use, I'm going to close this issue for now. If you're still running into problems feel free to open a new issue with more details and we can investigate further.

penalosa avatar Jan 29 '26 18:01 penalosa

Great, thank you very much!

FJRG2007 avatar Jan 29 '26 18:01 FJRG2007