Opening Devtools from iOS emulator crashes app with /open-debugger not found
after 5.0.0
#1098
Labels
status:confirmed
The issue has been reviewed and all necessary information is provided.
type:bug
A bug report.
Describe the bug
When attempting to open Devtools via the iOS emulator (i imagine also on other platforms/devices given the issue) either with the warnings dialogue or dev menu results in the app crashing with the error:
Which apart from seemingly being an issue with Pino, digging deeper the underlying error is:
Even attempting to hit
http://localhost:8081/open-debugger?...
in browser returns a 404.v5.0.0 is fine and opens devtools without error, v5.0.1/2 suffer a different error(
Conflict: Multiple assets emit different content to the same filename index.bundle
) so can't test, but that error is resolved by v5.0.3 where then the above issue appears.This issue seems consistent across multiple projects, from a large project i'm migrating to your own
super-app-showcase
Opening Devtools via
j
in terminal does succeed however.System Info
Re.Pack Version
5.0.4
Reproduction
https://github.com/callstack/super-app-showcase
Steps to reproduce
git clone super-app-showcase
update
@callstack/repack
to v5.0.0pnpm install/pods/start/run:host:ios
Confirm opening devtools from emulator works
update
@callstack/repack
to v5.0.3 (or v5.0.4)pnpm install/pods/start/run:host:ios
Opening devtools from emulator crashes app as described.
The text was updated successfully, but these errors were encountered: