gpt4 book ai didi

flutter - 无法创建 Aqueduct 项目

转载 作者:行者123 更新时间:2023-12-03 02:48:04 24 4
gpt4 key购买 nike

这是我在运行 aqueduct create project 时遇到的错误。 Aqueduct 已激活。

-- 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 和 flutter 的文件以及 vs code 和 android studio 的设置 n 下载 aqueduct 首先安装 dart 2.7.0 然后安装 dart 然后尝试

关于flutter - 无法创建 Aqueduct 项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62460164/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com