Failed to debug on Chrome using LAN on Android

I am using Exp CLI tool.
When I press ‘Debug JS Remotely’ on emulator,
I got the following error message on Chrome debugger:

Failed to load No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:19001’ is therefore not allowed access. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.

exp version: 49.0.4
expo client SDK: 25 (latest)
emulator: Genymotion Samsung Galaxy S6 - 7.1.1 - API 25

1 Like

Hi @michchan! Sorry about this issue. It’s definitely a bug but for now you should be able to get around it by running exp start --localhost.

cc @fson

1 Like

Thanks for quick response @jesse

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.