Skip to content

A new bug created in build_modules #4271

@gmalakov

Description

@gmalakov

webdev serve
webdeb build does the following problem

[SEVERE] build_web_compilers:dart2js_modules (lazy) on cl|lib/src/olap/column.dart:
AssetNotFoundException: cl|lib/src/olap/column.module.library
[SEVERE] build_web_compilers:dart2js_modules (lazy) on ac_pos|lib/src/db/entity/monitor.dart:
AssetNotFoundException: ac_pos|lib/src/db/entity/monitor.module.library
[SEVERE] build_web_compilers:dart2js_modules (lazy) on cl_local|lib/src/db/entity/city_details.dart:
AssetNotFoundException: cl_local|lib/src/db/entity/city_details.module.library
.....
and etc.

If I just return build_web_compilers a version behind it says
[SEVERE] ../../.pub-cache/hosted/pub.dev/build_web_compilers-4.3.2/lib/src/dart2js_bootstrap.dart:92:27: Error: Undefined name 'multiRootScheme'.
[SEVERE] : Uri.parse('$multiRootScheme:///${dartEntrypointId.path}');
[SEVERE] ^^^^^^^^^^^^^^^
[SEVERE] ../../.pub-cache/hosted/pub.dev/build_web_compilers-4.3.2/lib/src/dart2js_bootstrap.dart:105:24: Error: Undefined name 'multiRootScheme'.
[SEVERE] '--packages=$multiRootScheme:///.dart_tool/package_config.json',
[SEVERE]

SO I need to do something like this to make it work properly
dev_dependencies:
build_runner: ">=2.9.0 <=2.10.1"
build_web_compilers: ">=4.2.2 <=4.3.2"
build_modules: ">=5.0.18 <=5.0.18"

Dart 3.9.4

#build_modules: ^5.1.0
#build_web_compilers: ^4.4.0
#build_runner: ^2.10.1

Metadata

Metadata

Assignees

Labels

P1A high priority bug; for example, a single project is unusable or has many test failurestype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions