Giter Club home page Giter Club logo

Comments (5)

dawnyu avatar dawnyu commented on May 19, 2024

So did me

from fvm.

leoafarias avatar leoafarias commented on May 19, 2024

Could try running a --verbose flag on the command so I can see the stack trace?

from fvm.

ayush221b avatar ayush221b commented on May 19, 2024

I ran into the same issue, here's the stacktrace:

 ✘ ayushshekhar@Ayushs-MacBook-Pro  ~  fvm use stable --verbose
[     0.050s] Activating stable...
[     0.058s] FileSystemException: Cannot create link to target '/Users/ayushshekhar/fvm/versions/stable/bin/flutter', path = '/Users/ayushshekhar/fvm' (OS Error: File exists, errno = 17)
[     0.059s] ⚠️  Sorry could not link /Users/ayushshekhar/fvm/versions/stable/bin/flutter
#0      linkDir (package:fvm/utils/helpers.dart:35:5)
<asynchronous suspension>
#1      linkProjectFlutterDir (package:fvm/utils/flutter_tools.dart:201:9)
#2      UseCommand.run (package:fvm/commands/use.dart:38:11)
<asynchronous suspension>
#3      CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#4      CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#5      new Future.sync (dart:async/future.dart:224:31)
#6      CommandRunner.run (package:args/command_runner.dart:112:14)
#7      fvmRunner (package:fvm/fvm.dart:26:23)
#8      main (file:///Users/ayushshekhar/development/flutter/.pub-cache/hosted/pub.dartlang.org/fvm-0.6.7/bin/main.dart:4:9)
#9      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32)
#10     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

from fvm.

hortegag91 avatar hortegag91 commented on May 19, 2024

Can you solve it @ayush221b ?

from fvm.

mustafa96m avatar mustafa96m commented on May 19, 2024

I think there is a misunderstanding here, according to the readme.

Use a SDK Version
You can use different Flutter SDK versions per project. To do that you have to go into the root of the project and:

fvm use

fvm use specifies the flutter version per project, not globally. Therefore, go to your project root and apply fvm use.

from fvm.

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.