jn-jairo / laravel-ngrok

Share Laravel application with ngrok.
MIT License
89 stars 12 forks source link

Can not start ngrok, ngrok not found #8

Closed JessedeB closed 2 years ago

JessedeB commented 2 years ago

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:

  1. Install ngrok ( macos ) save on Desktop
  2. Make an alias : alias ngrok="~/Desktop/ngrok"
  3. Go to your application root ( valet, ~/Sites/MyApp )
  4. Run php artisan ngrok

Expected behavior A ngrok tunnel

JessedeB commented 2 years ago

Issue being solved by adding ngrok to /usr/local/bin