Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

npx expo start –tunnel : [ERR_UNKNOWN_ENCODING]: Unknown encoding: base64url

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?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

base64url encoding was added in Node.js 16.0.0. Try upgrading Node if you are on an older version.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading