Skip to content

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

@MichealReed

Description

@MichealReed

There should be a way to override the unsupported platform check. #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

Labels

type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions