When trying to launch expo strart through an ngrok tunnel, I get the following error :
$ npx expo start --tunnel
Starting project at C:\Users\xxx\xxx\xxx
Starting Metro Bundler
CommandError: TypeError [ERR_UNKNOWN_ENCODING]: Unknown encoding: base64url
I am on Windows and I’m using expo sdk 46 at it’s latest version and @expo/ngrok@^4.1.0. This error does not occur when trying to load npx expo start locally. Any idea why this may be happening?
>Solution :
base64url encoding was added in Node.js 16.0.0. Try upgrading Node if you are on an older version.