簡體   English   中英

Stagehand 不支持 Dart 2.3.1 錯誤

[英]Stagehand doesn't support Dart 2.3.1 error

當我嘗試創建一個新的 Flutter Web 項目后,我立即在 VS Code(win10)中獲得了“Dart 升級”

無法執行 Stagehand。 Stagehand 退出,代碼為 65。stagehand 3.3.2 不支持 Dart 2.3.1。

鑒於我以前沒有這個問題,我假設它是由更新引起的。

我運行“顫振升級”,這是我的顫振醫生

Doctor summary(查看所有詳細信息,運行 flutter doctor -v):[√] Flutter(Channel stable, v1.7.8+hotfix.4, on Microsoft Windows [Version 10.0.18362.295], locale en-US)

[√] Android 工具鏈 - 為 Android 設備開發(Android SDK 版本 28.0.3) [√] Android Studio(版本 3.4) [√] VS Code,64 位版本(版本 1.38.0) [!] 連接設備! 沒有可用的設備

醫生在 1 個類別中發現了問題。

這是我的“顫振 --version”

Flutter 1.7.8+hotfix.4 • 頻道穩定 • https://github.com/flutter/flutter.git框架 • 修訂版 20e59316b8(7 周前) • 2019-07-18 20:04:33 -0700 引擎 • 修訂版fee001c93f 工具 • Dart 2.4.0

知道如何解決嗎?

跑步

pub global 激活 stagehand

允許它再次工作。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM