invertase/spec

Error running spec on Windows

Open

#14 创建于 2022年2月3日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)Dart (16 fork)github user discovery
bughacktoberfest

仓库指标

Star
 (305 star)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南