Comments (8)
这个错误是
flutter_jd_address_selector:
git:
url: https://github.com/shichunlei/flutter_jd_address_selector
这个包导致的,把这三行注释了,然后把用到这个包的代码注释掉就可以了
from flutter_app.
Error on line 2, column 34: Mapping values are not allowed here. Did you miss a colon earlier?
我也是报了这个
from flutter_app.
@shichunlei 大佬,是什么原因呀
from flutter_app.
@yzc90912 @WhiteCjy @zybooo1 可不可以多提供一些日志?
我在网上查着这个错误应该是引入的第三方插件在pubspec.yaml里有空格或者缩进的问题
例如Error on line 2, column 34: Mapping values are not allowed here. Did you miss a colon earlier?
Error on line 2, column 34: Mapping values are not allowed here. Did you miss a colon earlier?
from flutter_app.
这个错误的原因我觉得应该是缩进的原因,注意这个文件pubspec.yaml最好不要使用代码格式化,可能格式化代码后由于缩进空格(可能是4个空格或者是两个空格)不同,导致的这个错误
from flutter_app.
这个错误的原因我觉得应该是缩进的原因,注意这个文件pubspec.yaml最好不要使用代码格式化,可能格式化代码后由于缩进空格(可能是4个空格或者是两个空格)不同,导致的这个错误
`Error on line 2, column 34: Mapping values are not allowed here. Did you miss a colon earlier?
╷
2 │ description: 浠夸含涓滃湴鍧€閫夋嫨鍣?version: 0.0.1
│ ^
╵
pub get failed (65)`
from flutter_app.
这个错误是
flutter_jd_address_selector:
git:
url: https://github.com/shichunlei/flutter_jd_address_selector
这个包导致的,把这三行注释了,然后把用到这个包的代码注释掉就可以了
赞 解决了
from flutter_app.
Error on line 2, column 34: Mapping values are not allowed here. Did you miss a colon earlier?
╷
2 │ description: 浠夸含涓滃湴鍧€閫夋嫨鍣?version: 0.0.1
│ ^
╵
pub get failed (65)`
从这个报错信息我猜测问题应该是出在flutter_jd_address_selector/pubspec.yaml文件中的:
name: flutter_jd_address_selector
description: 仿京东地址选择器
version: 0.0.1
author: 师春雷 [email protected]
homepage: https://github.com/shichunlei/flutter_jd_address_selector,
这个"仿京东地址选择器"乱码了 @shichunlei
from flutter_app.
Related Issues (20)
- 追书神器中的阅读页中能不能把上拉功能替换为左右翻页功能,而不是上拉到最主底然后再进入下一章 HOT 2
- 关于ImageStreamCompleter load(AssetThumbImageProvider key)BUG HOT 1
- ios根本就跑步起来 HOT 2
- 缺少package:flutter_app/nba/index.dart
- 魅族15,flyme8提示病毒风险!!
- 老哥有兴趣搞个书籍翻页的仿真效果吗 HOT 2
- error: Multiple commands produce "Target 'image_gallery_saver'" HOT 1
- 大佬,应用跑起来感觉很卡 HOT 1
- 百姓生活能再完善订单,支付功能吗 HOT 2
- Flutter升级到1.17版本之后,编译时下载依赖报错的解决方案
- 大佬,登录服务挂了?登不上 HOT 1
- ios 平台运行报错 HOT 2
- 有打算升级到flutter 2.0吗? HOT 1
- -b flutter2.0+ iOS报错 好多请求异常报错 No host specified in URI null & Invalid argument(s)
- 2.0你这里面并没有空安全那些东西啊
- Flutter2.0无法在IOS运行 HOT 1
- 今天突然提示二维码下载的app中了病毒,当时没截图
- 下载的2.0 在flutter2.2.0版本里启动,报错。新手求答案 HOT 2
- 在example中好多都无法获取到数据了
- tabbar 字体变大抖动问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_app.