Closed ballonura closed 1 month ago
Hi @ballonura , when running your initial command did you have the environment variable NGROK_AUTHTOKEN
set ?
n0pe, how should i set it? i think the sdk itself know how get it.
In order to connect to the ngrok service, you need to supply a valid authtoken. There are two ways to do this with ngrok-javascript:
authtoken_from_env
to true
(it defaults to false) and set the NGROK_AUTHTOKEN
to your authtoken. How you set this environment variable will depend on your OS.authtoken_from_env
to false and set authtoken
to your authtoken as you did above when you passed manually. Hello! Looks like this issue has been taken care of, so going to close this ticket out. Feel free to reopen if anything else comes up. Thanks again for writing in!
try this command:
and get this issue:
but when passing manuaaly it work:
Node.js version:
v14.21.3
ngrok version:3.6.0