-
Notifications
You must be signed in to change notification settings - Fork 716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 BUG: Can't assign requested address; toString() = 192.168.1.146:8788 #6899
Comments
Hey sorry for the delay getting back! This is really odd and not something we've seen before. I suspect this might have something to do your with your setup locally unfortunately. Does this also happen with a regular workers project, (e.g. if you create a basic hello-world project using |
Thank you for replying! I get the same error when I create a new hello world app with I tried running it with vite as you suggested, not sure I did it right though:
This is the output I got and the endpoint http://localhost:5173 gave 404: ➜ black-flower-39ce git:(main) ✗ npm run dev
> black-flower-39ce@0.0.0 dev
> vite dev
VITE v5.4.11 ready in 148 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h + enter to show help
(!) Could not auto-determine entry point from rollupOptions or html files and there are no explicit optimizeDeps.include patterns. Skipping dependency pre-bundling.
|
Thanks for trying that, helpful to know that it's not Pages-specific. Can you create a starter remix project following this (https://developers.cloudflare.com/workers/frameworks/framework-guides/remix/) and run |
Sure! Not sure what to look for but the dev server starts and the remix landing page is working great. |
Hm this is very odd. Have you got anything special set up in your hosts file? If you run |
Which Cloudflare product(s) does this pertain to?
Wrangler
What version(s) of the tool(s) are you using?
3.80.0 [wrangler]
What version of Node are you using?
20.17.0
What operating system and version are you using?
macOS Sequoia 15.0
Describe the Bug
Observed behavior
I am not able to run my pages functions locally using Wrangler CLI.
I am running on macOS Sequoia 15.0 but I've seen the same error on Ventura, I've also tried multiple earlier versions of wrangler but they all seem to behave the same way.
Wrangler tries to bind to
192.168.1.146:8788
which is a weird default (I dont use a wrangler.toml file in this example). If i force it to use --ip '127.0.0.1' the command starts just fine but no requests come through, the logs are completely empty.Expected behavior
At this point I just want to see my hello world working.
Steps to reproduce
Command
wrangler pages dev . --log-level debug
Folder structure
. └── functions └── hello.js
hello.js is the standard hello world:
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
The text was updated successfully, but these errors were encountered: