【问题标题】:Cannot create a aqueduct project无法创建渡槽项目
【发布时间】:2020-06-18 22:08:50
【问题描述】:

这是我在运行aqueduct create project 时遇到的错误。渡槽已启动。

-- Aqueduct CLI Version: 3.3.0+1
*** Uncaught error
    Bad state: No element
  **** Stacktrace
  * #0      ListMixin.firstWhere (dart:collection/list.dart:150:5)
  * #1      CLIAqueductGlobal.aqueductPackageRef (package:aqueduct/src/cli/commands/create.dart:342:10)
  * #2      CLIAqueductGlobal.templateDirectory (package:aqueduct/src/cli/commands/create.dart:347:12)
  * #3      CLIAqueductGlobal.getTemplateLocation (package:aqueduct/src/cli/commands/create.dart:351:12)
  * #4      CLITemplateCreator.handle (package:aqueduct/src/cli/commands/create.dart:51:27)
  * #5      CLICommand.process (package:aqueduct/src/cli/command.dart:159:20)
  * <asynchronous suspension>
  * #6      CLICommand.process (package:aqueduct/src/cli/command.dart:135:12)
  * #7      main (file:///C:/Users/dos/AppData/Local/Pub/Cache/hosted/pub.dartlang.org/aqueduct-3.3.0+1/bin/aqueduct.dart:9:27)
  * #8      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
  * #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
  ****

必须做什么?

【问题讨论】:

  • 我也有同样的问题,你解决了吗?
  • 是的,但是我删除了所有关于 dart 和颤振的文件以及 vs code 和 android studio 的设置 n 下载 aqueduct 首先安装 dart 2.7.0 然后安装 dart 然后尝试

标签: flutter dart aqueduct


【解决方案1】:

我删除了所有关于dart和flutter的文件以及vs code和android studio的设置n下载aqueduct首先安装dart 2.7.0然后安装dart然后尝试

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-03-31
    • 2013-07-28
    • 2020-10-11
    • 2018-05-06
    • 2014-09-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多