-
Notifications
You must be signed in to change notification settings - Fork 692
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: [pages + windows] Could not automatically determine proxy port #1587
Comments
Found this which may be of use? https:/balena-io-modules/drivelist, as it includes which is the system drive (where netstat is located) |
Ok, so the issue for this lies here: Looks like Wrangler already has logic to see if a port is in use and wait for it to be available/error. We may be best just using this logic: Looks like this would have correctly errored for the port in use here. |
The purpose of this is to automatically determine which port to proxy, not to check if a port has been proxied |
* fix: [windows] unable to find netstat Closes #1587
What version of
Wrangler
are you using?2.0.24
What operating system are you using?
Windows
Describe the Bug
This specifically occurs when the directory which wrangler is being run in is in a different disk than the directory that netstat is located.
For example, in this case, netstat is located on my C: drive, whereas my code is located on my F: drive. It incorrectly searches the F drive for the file, which does not exist. Creating a symlink or copying the executable into the correct path does resolve this for me, however that's obviously not a real solution.
The text was updated successfully, but these errors were encountered: