You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling lib\main.dart for the Web...
Target dart2js failed: ProcessException: Process exited abnormally with exit code 1:
/C:/Users/runneradmin/AppData/Local/Pub/Cache/hosted/pub.dev/drift-2.14.1/lib/src/web/wasm_setup/shared.dart:40:47:
Error: The argument type 'LegacySyncFileHandle' can't be assigned to the parameter type 'Object' because 'LegacySyncFileHandle' is nullable and 'Object' isn't.
'Object' is from 'dart:core'.
final getSizeResult = callMethod<Object?>(openedFile, 'getSize', [***
^
Error: Compilation failed.
Command: C:\hostedtoolcache\windows\flutter\stable-3.24.0-x64\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\hostedtoolcache\windows\flutter\stable-3.24.0-x64\bin\cache\dart-sdk\bin\snapshots\dart2js.dart.snapshot --platform-binaries=C:\hostedtoolcache\windows\flutter\stable-3.24.0-x64\bin\cache\flutter_web_sdk\kernel --invoker=flutter_tool -Ddart.vm.product=true -DFLUTTER_WEB_AUTO_DETECT=false -DFLUTTER_WEB_USE_SKIA=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-
The text was updated successfully, but these errors were encountered:
Hey @richard457 what version of Flutter (output of flutter doctor -v) and PowerSync are you using?
Could you also double check what version of drift you are using, from the error message it looks like it is v2.14.1 but our SDK supports v2.18.0. If you want to use drift, this example would be a good starting point https://github.com/powersync-ja/powersync.dart/tree/main/demos/supabase-todolist-drift
Compiling lib\main.dart for the Web...
Target dart2js failed: ProcessException: Process exited abnormally with exit code 1:
/C:/Users/runneradmin/AppData/Local/Pub/Cache/hosted/pub.dev/drift-2.14.1/lib/src/web/wasm_setup/shared.dart:40:47:
Error: The argument type 'LegacySyncFileHandle' can't be assigned to the parameter type 'Object' because 'LegacySyncFileHandle' is nullable and 'Object' isn't.
final getSizeResult = callMethod<Object?>(openedFile, 'getSize', [***
^
Error: Compilation failed.
Command: C:\hostedtoolcache\windows\flutter\stable-3.24.0-x64\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\hostedtoolcache\windows\flutter\stable-3.24.0-x64\bin\cache\dart-sdk\bin\snapshots\dart2js.dart.snapshot --platform-binaries=C:\hostedtoolcache\windows\flutter\stable-3.24.0-x64\bin\cache\flutter_web_sdk\kernel --invoker=flutter_tool -Ddart.vm.product=true -DFLUTTER_WEB_AUTO_DETECT=false -DFLUTTER_WEB_USE_SKIA=true -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-
The text was updated successfully, but these errors were encountered: