Dmytro Rostopira
Dmytro Rostopira
I have `lib/web_main.dart` (without any imports except material) and using `flutter build web -t lib/web_main.dart --verbose` command for build. I have no issues when using `flutter run -d web` however...
``` [ +3 ms] Some modules contained libraries that were incompatible with the current platform. [ ] #0 Module.computeTransitiveDependencies (package:build_modules/src/modules.dart:176:7) #1 bootstrapDart2Js (package:flutter_tools/src/build_runner/build_script.dart:425:45) #2 FlutterWebEntrypointBuilder.build (package:flutter_tools/src/build_runner/build_script.dart:248:13) #3 runBuilder.buildForInput (package:build/src/generate/run_builder.dart:45:21) ```
Even tried this as entry point: ``` import 'package:flutter/material.dart'; main() => WidgetsApp(color: Color(0xFFFF0000)); ``` Still error
The most strange thing, that it were working fine yesterday, and still working fine in project which doesn't have dependencies in pubspec except flutter
Here is full log, but I don't see anything about other entry-points ``` $ flutter build web -t lib/dummy_main.dart --verbose [ +15 ms] executing: [/Users/rostopira/flutter/] git -c log.showSignature=false log -n...
Well, IDK why I didn't tried it yesterday, but commenting out all other entrypoints (I have 3) fixed issue. So yeah, it's trying to build other entrypoints
I've made simple project with two entrypoints to reproduce https://github.com/rostopira/bug_reproduce Should I open new issue for this?
I'm not asking to support multi-module, I ask only for this bug :D I would actually prefer manual mode, like press button to regenerate, cause I don't modify my arb...
@sbaier1 do you see any difference now? Is it worth updating?
I've updated to 10.15.1 and still have terrible battery drain with stock Toshiba 512gb NVMe drive (BIOS says battery in excellent state)