Skip to content

[Flutter Web] Non-default entrypoint breaks run command #38797

@rostopira

Description

@rostopira

I've missed exact moment, when after upgrading flutter web is completely broken again
After running flutter run -d chrome I see only "Build application for the web..." in terminal and following error in JS console:

Failed to load resource: the server responded with a status of 404 (Not Found)
require.js:143 Uncaught Error: Script error for "main_web_entrypoint.dart.bootstrap"
http://requirejs.org/docs/errors.html#scripterror
    at makeError (require.js:168)
    at HTMLScriptElement.onScriptError (require.js:1738)

Flutter Doctor:

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.9.1-pre.89, on Mac OS X 10.14.4 18E226, locale en-BY)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 10.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.4)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.2)
[✓] VS Code (version 1.37.0)
[✓] Connected device (4 available)

• No issues found!

UPD: with --verbose there is no errors as well. Actually reproduces only on one project, which I can't share

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-webWeb applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions