I'm unable to install the spec_cli
. #32 fixed the Riverpod 2 problem. However, it's still not possible to install spec_cli
.
Running dart pub global activate spec_cli
prints this output:
Output
+ _fe_analyzer_shared 49.0.0.3s)
+ analyzer 5.1.0
+ ansi_styles 0.3.2+1
+ args 2.3.1
+ async 2.9.0
+ boolean_selector 2.1.0
+ charcode 1.3.1
+ cli_util 0.3.5
+ collection 1.16.0
+ conventional_commit 0.4.3+1 (0.5.0 available)
+ convert 3.0.2
+ coverage 1.6.1
+ crypto 3.0.2
+ dart_test_adapter 0.2.0
+ duration 3.0.12
+ file 6.1.4
+ freezed_annotation 1.1.0 (2.1.0 available)
+ frontend_server_client 3.0.0
+ glob 2.1.0
+ graphs 2.1.0
+ http 0.13.5
+ http_multi_server 3.2.1
+ http_parser 4.0.1
+ io 1.0.3
+ js 0.6.4
+ json_annotation 4.7.0
+ logging 1.1.0
+ matcher 0.12.12
+ melos 1.5.2 (2.7.1 available)
+ meta 1.8.0
+ mime 1.0.2
+ mustache_template 2.0.0
+ node_preamble 2.0.1
+ package_config 2.1.0
+ path 1.8.2
+ platform 3.1.0
+ pool 1.5.1
+ pub_semver 2.1.1
+ pubspec 2.3.0
+ quiver 3.1.0
+ riverpod 2.0.2
+ shelf 1.4.0
+ shelf_packages_handler 3.0.1
+ shelf_static 1.1.1
+ shelf_web_socket 1.0.2
+ source_map_stack_trace 2.1.0
+ source_maps 0.10.10
+ source_span 1.9.1
+ spec_cli 0.1.2+2 (0.1.3 available)
+ stack_trace 1.10.0
+ state_notifier 0.7.2+1
+ stream_channel 2.1.1
+ string_scanner 1.1.1
+ term_glyph 1.2.1
+ test 1.21.6
+ test_api 0.4.14
+ test_core 0.4.18
+ typed_data 1.3.1
+ uri 1.0.0
+ vm_service 9.4.0
+ watcher 1.0.1
+ web_socket_channel 2.2.0
+ webkit_inspection_protocol 1.2.0
+ yaml 3.1.1
Downloading logging 1.1.0...
Building package executables... (1.4s)
Failed to build spec_cli:main:
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:148:31: Error: The argument type 'AlwaysAliveRefreshable<StateController<RegExp?>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'RegExp' is from 'dart:core'.
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($testNameFilters.notifier).state = options.testNameFilters.isEmpty
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:153:31: Error: The argument type 'AlwaysAliveRefreshable<StateController<List<String>>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'List' is from 'dart:core'.
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($filePathFilters.notifier).state = options.fileFilters
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:157:27: Error: The argument type 'AlwaysAliveRefreshable<StateController<bool>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($isWatchMode.notifier).state = options.watch;
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:158:25: Error: The argument type 'AlwaysAliveRefreshable<StateController<DateTime>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'DateTime' is from 'dart:core'.
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($startTime.notifier).state = DateTime.now();
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:177:57: Error: The argument type 'AlwaysAliveRefreshable<StateController<List<FailedTestLocation>>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'List' is from 'dart:core'.
- 'FailedTestLocation' is from 'package:spec_cli/src/dart_test.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/dart_test.dart').
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
data: (value) => ref.read(_$lastFailedTests.notifier).state = value,
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:178:55: Error: The argument type 'AlwaysAliveRefreshable<StateController<List<FailedTestLocation>>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'List' is from 'dart:core'.
- 'FailedTestLocation' is from 'package:spec_cli/src/dart_test.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/dart_test.dart').
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
loading: () => ref.read(_$lastFailedTests.notifier).state = [],
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:180:53: Warning: Operand of null-aware operation '!' has type 'StackTrace' which excludes null.
- 'StackTrace' is from 'dart:core'.
Zone.current.handleUncaughtError(err, stack!);
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:209:53: Warning: Operand of null-aware operation '!' has type 'StackTrace' which excludes null.
- 'StackTrace' is from 'dart:core'.
Zone.current.handleUncaughtError(err, stack!);
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:231:30: Error: The getter 'future' isn't defined for the class 'AutoDisposeProvider<AsyncValue<int>>'.
- 'AutoDisposeProvider' is from 'package:riverpod/src/provider.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/provider.dart').
- 'AsyncValue' is from 'package:riverpod/src/common.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/common.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'future'.
ref.listen($exitCode.future, (previous, current) {});
^^^^^^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:234:41: Error: The getter 'future' isn't defined for the class 'AutoDisposeProvider<AsyncValue<int>>'.
- 'AutoDisposeProvider' is from 'package:riverpod/src/provider.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/provider.dart').
- 'AsyncValue' is from 'package:riverpod/src/common.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/common.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'future'.
return await ref.read($exitCode.future);
^^^^^^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:254:43: Error: The argument type 'Refreshable<StateController<bool>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'Refreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($isEditingTestNameFilter.notifier).state = false;
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:255:35: Error: The argument type 'AlwaysAliveRefreshable<StateController<RegExp?>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'RegExp' is from 'dart:core'.
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($testNameFilters.notifier).state =
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:263:43: Error: The argument type 'Refreshable<StateController<bool>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'Refreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($isEditingTestNameFilter.notifier).state = false;
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:267:44: Error: The argument type 'Refreshable<StateController<String>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'Refreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($editingTestNameTextField.notifier).update((state) {
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:272:44: Error: The argument type 'Refreshable<StateController<String>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'Refreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($editingTestNameTextField.notifier).state +=
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:283:29: Error: The argument type 'AlwaysAliveRefreshable<StateController<bool>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($didPressQ.notifier).state = true;
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:288:34: Error: The argument type 'Refreshable<StateController<bool>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'Refreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($showWatchUsage.notifier).state = true;
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:293:45: Error: The argument type 'AlwaysAliveRefreshable<StateController<bool>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($isRunningOnlyFailingTests.notifier).update((state) => !state);
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:299:44: Error: The argument type 'Refreshable<StateController<String>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'Refreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($editingTestNameTextField.notifier).state =
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:301:43: Error: The argument type 'Refreshable<StateController<bool>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'Refreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($isEditingTestNameFilter.notifier).state = true;
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:312:28: Error: The argument type 'AlwaysAliveRefreshable<TestEventsNotifier>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'TestEventsNotifier' is from 'package:spec_cli/src/dart_test.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/dart_test.dart').
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($events.notifier).stop();
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:324:23: Error: The argument type 'AlwaysAliveRefreshable<StateController<DateTime>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'DateTime' is from 'dart:core'.
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($startTime.notifier).state = DateTime.now();
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/command_runner.dart:325:41: Error: The argument type 'AlwaysAliveRefreshable<StateController<List<FailedTestLocation>?>>' can't be assigned to the parameter type 'ProviderBase<dynamic>'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'StateController' is from 'package:riverpod/src/state_controller.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/state_controller.dart').
- 'List' is from 'dart:core'.
- 'FailedTestLocation' is from 'package:spec_cli/src/dart_test.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/dart_test.dart').
- 'ProviderBase' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
ref.read($failedTestLocationToExecute.notifier).state =
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/dart_test.dart:31:23: Error: A value of type 'AlwaysAliveRefreshable<Future<List<_Package>>>' can't be assigned to a variable of type 'ProviderOrFamily'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'Future' is from 'dart:async'.
- 'List' is from 'dart:core'.
- '_Package' is from 'package:spec_cli/src/dart_test.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/dart_test.dart').
- 'ProviderOrFamily' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
$filteredPackages.future,
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/dart_test.dart:224:31: Error: A value of type 'AlwaysAliveRefreshable<Future<List<_Package>>>' can't be assigned to a variable of type 'ProviderOrFamily'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'Future' is from 'dart:async'.
- 'List' is from 'dart:core'.
- '_Package' is from 'package:spec_cli/src/dart_test.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/dart_test.dart').
- 'ProviderOrFamily' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
dependencies: [$allPackages.future, $filePathFilters],
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/rendering.dart:405:27: Error: A value of type 'AlwaysAliveRefreshable<TestEventsNotifier>' can't be assigned to a variable of type 'ProviderOrFamily'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'TestEventsNotifier' is from 'package:spec_cli/src/dart_test.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/dart_test.dart').
- 'ProviderOrFamily' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
}, dependencies: [$events.notifier]);
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/rendering.dart:412:27: Error: A value of type 'AlwaysAliveRefreshable<TestEventsNotifier>' can't be assigned to a variable of type 'ProviderOrFamily'.
- 'AlwaysAliveRefreshable' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
- 'TestEventsNotifier' is from 'package:spec_cli/src/dart_test.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/dart_test.dart').
- 'ProviderOrFamily' is from 'package:riverpod/src/framework.dart' ('../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/framework.dart').
}, dependencies: [$events.notifier]);
^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/provider_utils.dart:17:22: Error: Too few positional arguments: 2 required, 1 given.
return AsyncError(e.error, stackTrace: e.stackTrace);
^
../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/common.dart:372:9: Context: Found this candidate, but the arguments don't match.
const AsyncError(Object error, StackTrace stackTrace)
^^^^^^^^^^
../../../../../.pub-cache/hosted/pub.dartlang.org/spec_cli-0.1.2+2/lib/src/provider_utils.dart:21:25: Error: Too few positional arguments: 2 required, 1 given.
return AsyncError<T>(err, stackTrace: stack);
^
../../../../../.pub-cache/hosted/pub.dartlang.org/riverpod-2.0.2/lib/src/common.dart:372:9: Context: Found this candidate, but the arguments don't match.
const AsyncError(Object error, StackTrace stackTrace)
^^^^^^^^^^
Pub knows that there is the version 0.1.3
of spec_cli
but is unable to install it because it depends on other depenceny. I think this problem is releated to the problem (low score) on pub.dev:
https://pub.dev/packages/spec_cli/score
The output is:
Because spec_cli depends on dart_test_adapter ^0.2.0 which depends on freezed_annotation ^1.1.0, freezed_annotation ^1.1.0 is required.
So, because spec_cli depends on freezed_annotation ^2.1.0, version solving failed.