KishanBagaria / localhost-mapper

🔗 Run your dev servers on addresses like https://awesome-site/ or https://🍔/ instead of localhost
MIT License
80 stars 5 forks source link

Error running cli on macOS #1

Open olizilla opened 6 years ago

olizilla commented 6 years ago

When running

frwrd http://localhost:3000 https://example.org

I get a macOS system dialog like

screenshot 2018-05-01 13 34 06

but filling out the details causes the same dialog to reappear, over and over again. Eventually I gave up, but had to hit cancel a bunch of times to get it to go away. I gave it a couple more goes and got the same behaviour every time. I double checked my username and password combo and I'm sure they were correct so I'm not sure what else to try.

$ node --version
v8.9.3

macOS: 10.12

KishanBagaria commented 6 years ago

I suspect it's because of macOS 10.12. I didn't see the dialog in the few 10.13 computers I tested this on. But it could still be something else.

  1. Is your user account the sole admin account?
  2. Does the window shake after you provide the username and password or does it simply disappear and reappear again? Can you try providing an incorrect password and see if it shakes?
  3. Can you run this command in Terminal and see if the window pops up again? (assuming your default network interface is Wi-Fi)
    networksetup -setautoproxyurl Wi-Fi http://localhost:1122/proxy.pac