ngrok icon indicating copy to clipboard operation
ngrok copied to clipboard

ngrok -g not installing correctly in Win < 10

Open damoncasale opened this issue 8 years ago • 4 comments

The global install creates an ngrok file that looks like this:

"$basedir/node_modules/ngrok/bin/ngrok" "$@" exit $?

That doesn't work. I manually edited the file to look like this:

#!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')") "$basedir/node_modules/ngrok/bin/ngrok.exe" "$@" exit $?

Then it works.

damoncasale avatar Dec 20 '16 23:12 damoncasale

hi, thx for submitting an issue!

unfortunately global install was never working for windows, and nobody could submit a pull request with a fix. see https://github.com/bubenshchykov/ngrok/issues/10

let's see if windows heroes show up now :)

bubenshchykov avatar Dec 21 '16 06:12 bubenshchykov

I have the same issue...

doriel avatar Jun 19 '17 14:06 doriel

The global install is also not working on Mac. post install script error

slavikshen avatar Aug 22 '17 11:08 slavikshen

@slavikshen mac issue fixed

bubenshchykov avatar Sep 10 '17 09:09 bubenshchykov