-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue No named parameter with the name 'connectTimeout' #3255
Comments
Despite claiming to support older drift versions - Does adding this to your pubspec solve the issue? dependency_overrides:
drift: ^2.20.3 |
I will not be able to use the latest version of drift |
Judging by the few changes required in Lyokone/flutterlocation#989, you might get away with also adding |
If you can't use the latest drift, try downgrading |
I can't also use drift_flutter 0.1.0 Because amplify_db_common_dart 0.4.6 depends on sqlite3 >=2.0.0 <2.4.3 and no versions of amplify_db_common_dart match >0.4.6 <0.5.0, amplify_db_common_dart ^0.4.6 requires sqlite3 >=2.0.0 <2.4.3. |
Describe the bug
I am getting this error log when adding amplify_storage_s3: ^2.4.1
Launching lib\main.dart on sdk gphone x86 in debug mode...
../../../AppData/Local/Pub/Cache/hosted/pub.dev/drift_flutter-0.2.0/lib/src/native.dart:61:42: Error: No named parameter with the name 'connectTimeout'.
return await isolate.connect(connectTimeout: connectTimeout);
^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/drift_flutter-0.2.0/lib/src/native.dart:112:7: Error: No named parameter with the name 'port'.
port: connections,
^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/drift-2.18.0/lib/isolate.dart:178:11: Context: Found this candidate, but the arguments don't match.
factory DriftIsolate.inCurrent(DatabaseOpener opener,
^^^^^^^^^
Target kernel_snapshot_program failed: Exception
2
FAILURE: Build failed with an exception.
Execution failed for task ':app:compileFlutterBuildDebug'.
I have created a sample project to replicate the problem I just added amplify_storage_s3: ^2.4.1 and the error above happened
if you could teach me a fix that would be great TIA.
https://github.com/markjoseultra/flutter_drift_test
The text was updated successfully, but these errors were encountered: