Comments (5)
So did me
from fvm.
Could try running a --verbose
flag on the command so I can see the stack trace?
from fvm.
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.
Can you solve it @ayush221b ?
from fvm.
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)
- `Exception: Not a valid channle` when running `fvm list` with `[email protected]` HOT 2
- FVM prints 'However your configured "flutter" path is incorrect'
- fvm commands 'error: unable to find git in your path.'[BUG] HOT 1
- Flutter upgrade message HOT 1
- [BUG] fvm flutter -> 'flutter' is not recognized as an internal or external command, operable program or batch file. HOT 7
- Upgrading to global up to date dart SKD version errors out HOT 1
- [BUG] HOT 8
- [Feature Request] Spawn on a flavor
- [Feature Request] Use the flutter version defined in pubspec.yaml when running `fvm install` HOT 2
- [Feature Request] Add MacPorts as an installation method HOT 1
- [BUG] "fvm use" with "--force" does not skip prompt with default answer yes. HOT 4
- [BUG] Cannot install flutter into the fvm alpine Docker container
- [BUG] Cannot use dart 2.x when run on fvm v2
- [Feature Request] Replace current version by upgrading it
- [BUG] Unable to change the `context.flutterUrl` HOT 2
- [BUG] Visual Studio Code Does not identify the correct version set as global, nor the version identified in the project HOT 3
- [BUG]Extremely Slow and Failing fvm install Command HOT 15
- [BUG] Cannot change ownership to uid 397546, gid 5000: Invalid argument
- I have an error when trying to run FVM on Windows , Unable to find git in your PATH HOT 6
- How to change java version? HOT 2
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 fvm.