Can not start ngrok, ngrok not found
Closed this issue · 1 comments
JessedeB commented
- Version: #.#.#
- PHP Version: 8.1
- Laravel Framework Version: 9.0
- Ngrok Version: 3.0.5
Describe the bug
When running php artisan ngrok, the next is returned :
| NGROK |
Host header: 0ea7-2a02-a45c-6ca4-1-64c3-aa90-f163-e561.eu.ngrok.io
Host: localhost
Port: 80
sh: line 0: exec: ngrok: not found
To Reproduce
Steps to reproduce the behavior:
- Install ngrok ( macos ) save on Desktop
- Make an alias : alias ngrok="~/Desktop/ngrok"
- Go to your application root ( valet, ~/Sites/MyApp )
- Run php artisan ngrok
Expected behavior
A ngrok tunnel
JessedeB commented
Issue being solved by adding ngrok to /usr/local/bin