Setting up to develop and encountering issue running build.dart #439
Unanswered
ImminentOrbit
asked this question in
Q&A
Replies: 1 comment 4 replies
-
@Arphahat You can tell which file it's having trouble finding by the output of the command.
It's having trouble finding the P.S. You can use the VS Code extensions for Dart/Flutter and generally avoid the build script (if you just want to debug and not create a release deployment). |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've read through the setup section and have followed the steps listed. Trying to run the scripts/build.dart in Android Studio, and also via command line, gives me this output:
E:/Programming/flutter/bin/cache/dart-sdk/bin/dart.exe --enable-asserts C:\Users\Orbit\AndroidStudioProjects\thunder\scripts\build.dart
Checking if Flutter is installed...
Unhandled exception:
ProcessException: The system cannot find the file specified.
Command: flutter --version
#0 _ProcessImpl._runAndWait (dart:io-patch/process_patch.dart:487:7)
#1 _runNonInteractiveProcessSync (dart:io-patch/process_patch.dart:632:18)
#2 Process.runSync (dart:io-patch/process_patch.dart:68:12)
#3 buildRelease (file:///C:/Users/Orbit/AndroidStudioProjects/thunder/scripts/build.dart:9:41)
#4 main (file:///C:/Users/Orbit/AndroidStudioProjects/thunder/scripts/build.dart:120:3)
#5 _delayEntrypointInvocation. (dart:isolate-patch/isolate_patch.dart:291:19)
#6 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
Process finished with exit code 255
It is saying it cannot find a file, but I'm not sure which file that is? Any help?
Beta Was this translation helpful? Give feedback.
All reactions