Giter VIP home page Giter VIP logo

Comments (8)

Ruzo avatar Ruzo commented on August 12, 2024 2

Using :

dependencies:
  flutter:
    sdk: flutter
  path: ^1.8.1

seems to work on master channel, but I keep getting the same error Because every version of flutter_test from sdk depends on path 1.8.0 and [app_name] depends on path ^1.8.1, flutter_test from sdk is forbidden. with the stable channel.

Yes, the fix made it to the master channel. I suppose it's in beta version 2.10.0-0.1.pre as well? So it should make it to stable pretty soon.

Actually, I just checked and it's not yet on beta channel 🤷

from path.

hanafiprasyah avatar hanafiprasyah commented on August 12, 2024

Same problem 👍 up

from path.

wahahaha18 avatar wahahaha18 commented on August 12, 2024

Same problem with Flutter 2.5.3 • channel stable because of flutter_test.
Erroe log:
Because every version of flutter_test from sdk depends on path 1.8.0 and f_app_application depends on path ^1.8.1, flutter_test from sdk is forbidden.
So, because f_app_application depends on flutter_test any from sdk, version solving failed.
pub get failed (1; So, because f_app_application depends on flutter_test any from sdk, version solving failed.)

from path.

Ruzo avatar Ruzo commented on August 12, 2024

Update: I did post it on the Flutter repo and it's being worked on:

flutter/flutter#95478

from path.

MilanObrenovic avatar MilanObrenovic commented on August 12, 2024

Having the same problem, any updates so far?

Because <app> depends on flutter_test from sdk which depends on path 1.8.0, path 1.8.0 is required.
So, because <app> depends on path ^1.8.1, version solving failed.
pub get failed (1; So, because <app> depends on path ^1.8.1, version solving failed.)

from path.

bkbonner avatar bkbonner commented on August 12, 2024

Using :

dependencies:
  flutter:
    sdk: flutter
  path: ^1.8.1

seems to work on master channel, but I keep getting the same error Because every version of flutter_test from sdk depends on path 1.8.0 and [app_name] depends on path ^1.8.1, flutter_test from sdk is forbidden. with the stable channel.

from path.

natebosch avatar natebosch commented on August 12, 2024

There is nothing we can do in a package to impact the behavior of flutter pinning packages, If flutter or flutter_test introduce a version constraint you'll need to work with the flutter team on getting things updated.

from path.

bibek-magar avatar bibek-magar commented on August 12, 2024
flutter channel beta
flutter upgrade 

Works for me :)

from path.

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.