No pubspec.yaml file found. This command should be run from the root of your Flutter project. Do not
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运行项目即可!
No pubspec.yaml file found. This command should be run from the root of your Flutter project. Do not相关推荐
- msf 启动报[-] * WARNING: No database support: No database YAML file解决方法
msf 启动报[-] * WARNING: No database support: No database YAML file解决方法 参考文章: (1)msf 启动报[-] * WARNING: ...
- 【Flutter】Flutter 自定义字体 ( 下载 TTF 字体 | pubspec.yaml 配置字体资源 | 同步资源 | 全局应用字体 | 局部应用字体 )
文章目录 一.Flutter 自定义字体 1.ttf 字体文件 2.ttf 字体资源配置 3.获取字体 4.全局使用字体 5.局部使用字体 二.完整代码示例 三.相关资源 一.Flutter 自定义字 ...
- dart系列之:元世界pubspec.yaml文件详解
文章目录 简介 pubspec.yaml支持的字段 一个例子 字段详情 总结 简介 pubspec.yaml是所有dart项目的灵魂,它包含了所有dart项目的依赖信息和其他元信息,所以pubspec ...
- 【Flutter】pubspec.yaml中的版本管理
flutter项目使用pubspec.yaml进行依赖管理,其中对于依赖库的版本设置的方法比较灵活,设置不当可能会出现错误,这里集中整理一下: 不指定版本 or any 对版本无要求,此时默认会优先依 ...
- MacBook cmake .. 运行遇到问题ld: unsupported tapi file type ‘!tapi-tbd‘ in YAML file ...
先说一句,linux配环境真香. 问题背景 在网上git clone了一个c++项目,用cmake ..时,报错 ld: unsupported tapi file type '!tapi-tbd' ...
- [编译记录]遇到“ld: unsupported tapi file type ‘!tapi-tbd‘ in YAML file...”
比较长时间没使用MAC机器编译,系统更新也蛮快的,Xcode也都12了,然后简单make不能跑了.例如,想编译一份新的cmake,遇到"ld: unsupported tapi file t ...
- Kubernetes的yaml文件中的command使用
前面说了init容器initContainers,这主要是为容器做前期准备工作的,一般都会用到shell脚本,这就会用到command,这里写command的用法. command就是将命令在创建的容 ...
- Error on line 19, column 16 of pubspec.yaml: Mapping values are not allowed here. Did you miss a co
错误如下图 这个错误的原因是自己导入引起的 看这个fluttertoast的位置对不上面的flutter位置没有对齐, 然后把他往前移动一下改成这样 上下对齐 这样的话 就可以了.
- No database support: No database YAML file
server postgresql start msfconsole -q msfdb init
- 【Docker】Docker 启动prometheus报错 parsing YAML file /etc/prometheus/prometheus.yml: yaml: unmarshal
1.背景 本地docker 安装prometheus,然后启动,报错如下 (base) lcc@lcc grafana-storage$ docker logs 790f84fb094904a96b8 ...
最新文章
- OCS Inventory NG使用之在windows 2008 R2平台下安装服务器端(三)
- 你还不知道 Eureka 和 zookeeper 的区别吗?
- DL之CNN:利用卷积神经网络算法(2→2,基于Keras的API-Functional)利用MNIST(手写数字图片识别)数据集实现多分类预测
- Tree的前序序列化
- 安装教程-VMware 12 安装 Windows 10 企业版
- PyTorch 1.4 最新版放出:支持Python2的最后一版,支持分布式模型并行、Java程序、移动端等多项新功能...
- 数据结构之堆与优先队列
- 【leetcode-101】 对称二叉树
- ExtJS简介--车辆调度
- pyinstaller 32位 64位的问题
- charset参数 sqluldr2_sqluldr2使用几例
- AUTOCAD——超级填充命令3
- ddr4单颗粒最大_国产DDR4内存颗粒!南亚DDR4颗粒超频测试
- GCC(Graph Contrastive Clustering)论文代码复现
- android中怎么播放本地视频播放器,安卓之播放本地视频讲解
- vue3.0抢先看(附尤雨溪vue分享ppt)
- 北漂生活-租房那些事
- 03.Hadoop之HDFS
- 电路中那些你知道而我不知道的小常识
- windows store下载_《勇者斗恶龙XIS决定版》体验版开放下载,可游玩约10小时