Suddenly started getting errors like:
tunnel <uuidv4> already exists
(where <uuidv4> is a redacted version of an uuid v4).
Was able to trace it back to a new binary release a couple days ago:
https://ngrok.com/docs/agent/changelog/#ngrok-agent-3290-2025-09-17 (note that this library fetches a new binary on install, which on CI would mean the latest available binary, i.e. no dependency-pinning, causing these issues)
Resolution
Was able to resolve by migrating to https://www.npmjs.com/package/@ngrok/ngrok, which is the official Javascript SDK, and has a very similar API.
Due to this issue I'd recommend to the maintainers to deprecate this package, to point people to the official, maintained and forward-compatible package. A million thanks of course for helping us all with this package all this time 🙌 .
Suddenly started getting errors like:
(where
<uuidv4>is a redacted version of an uuid v4).Was able to trace it back to a new binary release a couple days ago:
https://ngrok.com/docs/agent/changelog/#ngrok-agent-3290-2025-09-17 (note that this library fetches a new binary on install, which on CI would mean the latest available binary, i.e. no dependency-pinning, causing these issues)
Resolution
Was able to resolve by migrating to https://www.npmjs.com/package/@ngrok/ngrok, which is the official Javascript SDK, and has a very similar API.
Due to this issue I'd recommend to the maintainers to deprecate this package, to point people to the official, maintained and forward-compatible package. A million thanks of course for helping us all with this package all this time 🙌 .