invertase/spec

Error running spec on Windows

Open

#14 ouverte le 3 févr. 2022

Voir sur GitHub
 (7 commentaires) (0 réactions) (0 assignés)Dart (16 forks)github user discovery
bughacktoberfest

Métriques du dépôt

Stars
 (305 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

Unhandled exception:
ProcessException: The system cannot find the file specified.

  Command: flutter test --reporter=json --no-pub
#0      _ProcessImpl._start (dart:io-patch/process_patch.dart:401:33)
#1      Process.start (dart:io-patch/process_patch.dart:38:20)
#2      flutterTest.<anonymous closure> (package:dart_test_adapter/src/test_runner.dart:16:19)
#3      _parseTestJsonOutput.<anonymous closure> (package:dart_test_adapter/src/test_runner.dart:64:30)
#4      _parseTestJsonOutput.<anonymous closure> (package:dart_test_adapter/src/test_runner.dart:63:25)
#5      _runGuarded (dart:async/stream_controller.dart:773:24)
#6      _StreamController._subscribe.<anonymous closure> (dart:async/stream_controller.dart:651:7)
#7      _BufferingStreamSubscription._guardCallback (dart:async/stream_impl.dart:417:13)
#8      _StreamController._subscribe (dart:async/stream_controller.dart:650:18)
#9      _ControllerStream._createSubscription (dart:async/stream_controller.dart:786:19)
#10     _StreamImpl.listen (dart:async/stream_impl.dart:473:9)
#11     new TestEventsNotifier.<anonymous closure> (package:spec_cli/src/dart_test.dart:92:25)
<asynchronous suspension>

Steps to reproduce:

  • Install spec using dart pub global activate spec_cli
  • Create a fresh Flutter project
  • Run spec in project

Currently using Flutter 2.10 but I was using the last stable version and getting the same error.

Guide contributeur