Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win 10 flown command fails on the command line #2

Closed
warriorCoder opened this issue Oct 30, 2018 · 3 comments
Closed

Win 10 flown command fails on the command line #2

warriorCoder opened this issue Oct 30, 2018 · 3 comments

Comments

@warriorCoder
Copy link

Executing the following command results in an error creating the project. Seems the script can't create the tmp folder.

c:\Projects>flown --arch bloc_flutter --name example_bloc
Cloning https://github.com/brianegan/flutter_architecture_samples.git to /tmp...
CreateProcessW failed 267
Unhandled exception:
ProcessException: The directory name is invalid.

Command: git clone https://github.com/brianegan/flutter_architecture_samples.git
#0 _cmd (file:///C:/Users/Jeff/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flown-0.0.1/bin/flown.dart:175:7)

#1 _buildProject (file:///C:/Users/Jeff/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flown-0.0.1/bin/flown.dart:112:11)

#2 main (file:///C:/Users/Jeff/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flown-0.0.1/bin/flown.dart:35:3)
#3 _startIsolate. (dart:isolate/runtime/libisolate_patch.dart:277:32)
#4 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
Cloning https://github.com/brianegan/flutter_architecture_samples.git to /tmp...
CreateProcessW failed 267
Unhandled exception:
ProcessException: The directory name is invalid.

Command: git clone https://github.com/brianegan/flutter_architecture_samples.git
#0 _cmd (file:///C:/Users/Jeff/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flown-0.0.1/bin/flown.dart:175:7)

#1 _buildProject (file:///C:/Users/Jeff/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flown-0.0.1/bin/flown.dart:112:11)

#2 main (file:///C:/Users/Jeff/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/flown-0.0.1/bin/flown.dart:35:3)
#3 _startIsolate. (dart:isolate/runtime/libisolate_patch.dart:277:32)
#4 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)

@mmcc007
Copy link
Owner

mmcc007 commented Oct 30, 2018

Try creating the /tmp folder for now. I'm setting-up a windows machine to see how to get to $TEMP.

@warriorCoder
Copy link
Author

Thank you so much.

@mmcc007
Copy link
Owner

mmcc007 commented Oct 31, 2018

Added support for windows in version 0.0.3.
To upgrade do:

pub global activate flown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants