Giter VIP home page Giter VIP logo

Comments (4)

davidmarne avatar davidmarne commented on June 12, 2024

So I played around a bit and this is what I found:
I only get this error if I am on dart 1.24.x, but not if I'm on the 2.x.x dev build of dart. This error pops up because the mime package at 0.9.6 has a lower bound on the dart sdk of 2.x dev, and as of flutter 0.1.0 mime 0.9.6 is required.

So there are two solutions short term

  1. update your version of dart to the latest 2.x.x dev build
  2. use flutter 0.0.24

from flutter_built_redux.

davidmarne avatar davidmarne commented on June 12, 2024

I'm going to look into solving davidmarne/built_redux#56 asap to alleviate this issue

from flutter_built_redux.

btastic avatar btastic commented on June 12, 2024

Hmm weird.. I just tried it on my laptop and it is working fine.

λ  flutter doctor -v
[√] Flutter (Channel master, v0.1.7-pre.11, on Microsoft Windows [Version 10.0.16299.192], locale en-GB)
    • Flutter version 0.1.7-pre.11 at C:\source\repos\flutter
    • Framework revision 3b84503403 (3 hours ago), 2018-02-26 20:11:11 -0800Engine revision ead227f118
    • Dart version 2.0.0-dev.28.0.flutter-0b4f01f759

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at C:\Users\benjamin.konsemuell\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[√] Android Studio (version 3.0)
    • Android Studio at C:\Program Files\Android\Android StudioJava version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[√] VS Code (version 1.20.1)
    • VS Code at C:\Program Files\Microsoft VS CodeDart Code extension version 2.9.0

[!] Connected devices
    ! No devices available

! Doctor found issues in 1 category.

I see I am on master here, but I tried it on master yesterday aswell. Do you know how to get my flutter clean? I removed the whole flutter directory and pulled it again. I will try it later again and see if I missed something.

Thanks!

from flutter_built_redux.

btastic avatar btastic commented on June 12, 2024

I am so sorry. I had dart installed in a different directory for global packages because back when I setup everything, I had no idea what I did.
The "dart" command was in the old directory.

I removed all the "old" dart stuff and cleared flutter. Went to install the beta, cloned this repo, tried dart tools\build.dart and it worked right away.

Here we go!

from flutter_built_redux.

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.