Skip to content

running with different base href causes crash during connection #1227

Closed
@jonahwilliams

Description

@jonahwilliams
Flutter crash report.
Please report a bug at https://github.com/flutter/flutter/issues.

## command

flutter run -d chrome

## exception

StateError: Bad state: No element


#0      List.last (dart:core-patch/growable_array.dart:337:5)
#1      AppInspector._initialize (package:dwds/src/debugging/inspector.dart:90:35)
<asynchronous suspension>
#2      AppInspector.initialize (package:dwds/src/debugging/inspector.dart:156:5)
<asynchronous suspension>
#3      ChromeProxyService.createIsolate (package:dwds/src/services/chrome_proxy_service.dart:188:18)
<asynchronous suspension>

To reproduce flutter create a new app, and change the base href in web/index.html from / to /foo/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions