Skip to content

Skipping compiling with dart2js because some of its transitive libraries have sdk dependencies that are not supported on this platform:. #2686

@MichealReed

Description

@MichealReed

Asking here first per dart-lang/build#4179 (comment)

CC and thanks to @davidmorgan

There should be a way to override the unsupported platform check. dart-lang/build#2200 (comment) mentions flutter has this disabled, how?

The code paths in my library have no problems with web yet I cannot use webdev serve to compile a js library.

dart-lang/sdk#50181

Many parts of analyzer work on web yet it seems to be blacklisted. How can I force this to allow a package through and compile the code?

If I dart2js then webdev serve, even though webdev serve skips building, the file built through dart2js works. If I must use dart2js, how can I fully package all the dart dependencies? These packages work fine in flutter too, so I should be able to build them with webdev serve.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestpackage:webdevtriagedtype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions