Giter Site home page Giter Site logo

打不开 about flutter_app HOT 8 CLOSED

shichunlei avatar shichunlei commented on May 23, 2024
打不开

from flutter_app.

Comments (8)

YoPeak avatar YoPeak commented on May 23, 2024 1

这个错误是
flutter_jd_address_selector:
git:
url: https://github.com/shichunlei/flutter_jd_address_selector
这个包导致的,把这三行注释了,然后把用到这个包的代码注释掉就可以了

from flutter_app.

WhiteCjy avatar WhiteCjy commented on May 23, 2024

Error on line 2, column 34: Mapping values are not allowed here. Did you miss a colon earlier?

我也是报了这个

from flutter_app.

zybooo1 avatar zybooo1 commented on May 23, 2024

@shichunlei 大佬,是什么原因呀

from flutter_app.

shichunlei avatar shichunlei commented on May 23, 2024

@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.

shichunlei avatar shichunlei commented on May 23, 2024

这个错误的原因我觉得应该是缩进的原因,注意这个文件pubspec.yaml最好不要使用代码格式化,可能格式化代码后由于缩进空格(可能是4个空格或者是两个空格)不同,导致的这个错误

from flutter_app.

zybooo1 avatar zybooo1 commented on May 23, 2024

这个错误的原因我觉得应该是缩进的原因,注意这个文件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.

zybooo1 avatar zybooo1 commented on May 23, 2024

这个错误是
flutter_jd_address_selector:
git:
url: https://github.com/shichunlei/flutter_jd_address_selector
这个包导致的,把这三行注释了,然后把用到这个包的代码注释掉就可以了

赞 解决了

from flutter_app.

RuijinYao avatar RuijinYao commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.