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
{{ message }}
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.
running the flutter build apk on the example gives this error
../lib/src/objectdb_storage_indexeddb.dart:7:8: Error: Not found: 'dart:indexed_db'
import 'dart:indexed_db';
^
../lib/src/objectdb_storage_indexeddb.dart:8:8: Error: Not found: 'dart:html'
import 'dart:html';
^
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:
- package:lipsum
For solutions, see https://dart.dev/go/unsound-null-safety
../lib/src/objectdb_storage_indexeddb.dart:13:14: Error: Type 'Database' not found.
late final Database _db;
^^^^^^^^
../lib/src/objectdb_storage_indexeddb.dart:13:14: Error: 'Database' isn't a type.
late final Database _db;
^^^^^^^^
../lib/src/objectdb_storage_indexeddb.dart:21:7: Error: 'Database' isn't a type.
Database db = e.target.result;
^^^^^^^^
../lib/src/objectdb_storage_indexeddb.dart:20:17: Error: The getter 'window' isn't defined for the class 'IndexedDBStorage'.
- 'IndexedDBStorage' is from 'package:objectdb/src/objectdb_storage_indexeddb.dart' ('../lib/src/objectdb_storage_indexeddb.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'window'.
_db = await window.indexedDB!.open(_name, version: 1, onUpgradeNeeded: (e) {
^^^^^^
Unhandled exception:
FileSystemException(uri=org-dartlang-untranslatable-uri:dart%3Aindexed_db; message=StandardFileSystem only supports file:* and data:* URIs)
#0 StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:34:7)
#1 asFileUri (package:vm/kernel_front_end.dart:659:37)
#2 writeDepfile (package:vm/kernel_front_end.dart:799:21)
<asynchronous suspension>
#3 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:625:9)
<asynchronous suspension>
#4 starter (package:frontend_server/frontend_server.dart:1451:12)
<asynchronous suspension>
#5 main (file:///b/s/w/ir/x/w/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:10:14)
<asynchronous suspension>
FAILURE: Build failed with an exception.
* Where:
Script '/home/nim.hermony-technology/development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1159
* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command '/home/nim.hermony-technology/development/flutter/bin/flutter'' 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 20s
Running Gradle task 'assembleRelease'... 20.9s
Gradle task assembleRelease failed with exit code 1
this is only flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.10, on Pop!_OS 22.04 LTS
6.0.12-76060006-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version
32.1.0-rc1)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.74.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
! Doctor found issues in 1 category.
The text was updated successfully, but these errors were encountered:
running the
flutter build apk
on the example gives this errorthis is only flutter doctor:
The text was updated successfully, but these errors were encountered: