You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed ngrok previously using a method other than homebrew, valet has no idea and is trying to run a homebrew version of ngrok which I don't have installed:
$ which ngrok
/usr/local/bin/ngrok
$ valet share
sudo: /opt/homebrew/bin/ngrok: command not found
I'm pretty sure the best solution will be to update the "is ngrok installed" check to make sure the Brew-installed version of ngrok is installed, but it's possible the solution is instead to allow it to call /usr/local/bin/ngrok instead.
If we allow it to call the alternate version of ngrok, we run into problems if it's not the right version, and have to take responsibility for checking its version, so I'm leaning more toward requiring a Brew-installed version.
The text was updated successfully, but these errors were encountered:
@laytan I just realized this isn't an issue of Valet not correctly checking for your installed Valet, but instead simply that you expected it to work with your existing ngrok install but it only works with Homebrew.
I plan for it to only work with the Homebrew-installed version, unless there's a really strong case against it.
But maybe I should make this more clear in the instructions; maybe when you set the share-tool to ngrok and it asks if you want to install it, it should clarify that it'll use the Homebrew-installed version.
@laytan reported this bug testing Valet v4:
I'm pretty sure the best solution will be to update the "is ngrok installed" check to make sure the Brew-installed version of ngrok is installed, but it's possible the solution is instead to allow it to call
/usr/local/bin/ngrok
instead.If we allow it to call the alternate version of ngrok, we run into problems if it's not the right version, and have to take responsibility for checking its version, so I'm leaning more toward requiring a Brew-installed version.
The text was updated successfully, but these errors were encountered: