No pubspec.yaml file found. This command should be run from the root of your Flutter project. Do not
flutter The not of File No from be
2023-09-14 09:04:26 时间
Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
Do not run this command from the root of your git clone of Flutter.
翻译:
错误:找不到pubspec.yaml文件。
此命令应从Flutter项目的根目录运行。
不要从Flutter的git克隆的根目录运行此命令
解决:
只需要将根目录切换到当前工程文件即可:如下
cd flutter_app02,切换到当前工程
然后在flutter run运行项目即可!
相关文章
- Flutter App架构:领域模型
- flutter系列之:flutter中常用的Stack layout详解
- flutter系列之:永远不用担心组件溢出的Wrap
- Flutter - ListView 挂件中使用 JSON 文件
- Flutter 下载器 | flutter_download_manager源码解析
- 解决The HTTP request is not acceptable for the requested resource
- 【Flutter】Dart 技巧 ( 独立主函数入口 | 可空类型判定 | 默认值设定 )
- 【错误记录】Flutter 报错 ( Dart SDK is not configured )
- 【Flutter】Flutter 拍照示例 ( Android 应用兼容 Android X | Gradle 版本号 | Gradle 插件版本号 | Android X 支持 | SDK 版本 )
- 【Flutter】Banner 轮播组件 ( flutter_swiper 插件 | Swiper 组件 )
- 【Flutter】Flutter 启动白屏问题 ( 问题描述 | 在 launch_background.xml 中设置启动过渡 UI )
- 升级了Xcode 14.3 版本后Flutter运行IOS项目遇到File not found:arc/libarclite_iphoneos.a
- ORA-22900: the SELECT list item of THE subquery is not a collection type ORACLE 报错 故障修复 远程处理
- ORA-28074: The “string” field of the redaction parameters is not valid. ORACLE 报错 故障修复 远程处理
- ORA-28085: The input and output lengths of the redaction do not match. ORACLE 报错 故障修复 远程处理
- ORA-48488: The predicate string exceeds the maximum length [string] ORACLE 报错 故障修复 远程处理
- ORA-13614: The template string is not compatible with the current advisor. ORACLE 报错 故障修复 远程处理
- The Power of the Hydra Oracle: Unlocking Potential(hydraoracle)
- Exploring the Dynamic Duo: The Power of Solr MongoDB Integration(solrmongodb)
- Exploring the Power of MongoDB: The Definitive Guide to Upgrading Arrays(mongodb更新数组)
- Discover the Versatility of Tilda Linux: The Perfect Operating System for Tech Enthusiasts.(tildalinux)
- Unveiling the Evolution of Linux: The Journey of the 0.11 Version(linux0.11)