When using version 0.5.7 I get the following error
Invalid depfile: D:\Code\Clients\DeliveryDudes\src\deliverydudes-customer\.dart_tool\flutter_build\f7e46c30881b9629fed3361333df920e\kernel_snapshot.d
Invalid depfile: D:\Code\Clients\DeliveryDudes\src\deliverydudes-customer\.dart_tool\flutter_build\f7e46c30881b9629fed3361333df920e\kernel_snapshot.d
../thirdparty/timezone/lib/browser.dart:17:8: Error: Not found: 'dart:html'
import 'dart:html';
^
/C:/src/flutter/packages/flutter/lib/src/foundation/_platform_web.dart:5:8: Error: Not found: 'dart:html'
import 'dart:html' as html;
^
../thirdparty/timezone/lib/browser.dart:48:10: Error: Getter not found: 'HttpRequest'.
return HttpRequest.request(path,
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/foundation/_platform_web.dart:20:41: Error: Getter not found: 'window'.
final String navigatorPlatform = html.window.navigator.platform?.toLowerCase() ?? '';
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/foundation/_platform_web.dart:40:12: Error: Getter not found: 'window'.
if (html.window.matchMedia('only screen and (pointer: fine)').matches) {
^^^^^^
Unhandled exception:
FileSystemException(uri=org-dartlang-untranslatable-uri:dart%3Ahtml; message=StandardFileSystem only supports file:* and data:* URIs)
#0 StandardFileSystem.entit
yForUri (package:front_end/src/api_prototype/standard_file_system.dart:33:7)
#1 asFileUri (package:vm/kernel_front_end.dart:657:37))
<asynchronous suspension>
#2 writeDepfile (package:vm/kernel_front_end.dart:825:21))
<asynchronous suspension>
#3 FrontendCompiler.compile (package:frontend_server
/frontend_server.dart:572:15)
<asynchronous suspension>
#4 _FlutterFrontendCompiler.compile (package:flutter_frontend_server/server.dart:43:22))
#5 starter (package:flutter_fr
ontend_server/server.dart:182:27)
#6 main (file:///C:/b/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:9:30))
#7 _star
tIs
olate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#8 _RawReceivePortImpl._handleMe
ssage (dart:isolate-patch/isolate_patch.dart:168:12)
FAILURE: Build failed with an exception.
* Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 904
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 14s
Exception: Gradle task assembleDebug failed with exit code 1
When using version 0.5.7 I get the following error
dart:html seems to be the problem.