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
First build for windows app failed. #116887
Comments
Hello @wkt1227. There is a known issue in Windows where Windows blocks access to file stored in the Documents folder. Try moving your project out of the Documents folder, like |
Thanks for your reply. Logs
|
I think your Visual Studio config is not set up properly. Can you try reinstalling Visual Studio? |
I tried resinstalling Visual Studio, but that did not fix the error. Log
|
Labeling this issue for further insights from the team |
My Japanese is pretty poor, but I don't see anything in this logging that gives any clues as to why the build failed. @cbracken am I missing something? |
@christopherfujino agreed - there's nothing super obvious about why the build failed based on the log, other than it appears to be due to a failing step during the flutter assemble step. Build error MSB8066 appears to just be that a custom build step exited with a non-zero exit code. For others reference, translations from the log above: Then at the bottom: Things that it doesn't appear to be:
Things that I could imagine it might be:
That said, I'd have expected if either of the above were the case, we'd have heard about it much sooner than this. |
@loic-sharma @yaakovschectman any insights? IIRC @yaakovschectman mentioned an upstream make bug recently? Would that bug trigger a failure similar to this? |
I don't know for sure going by the Japanese error messages. If this is related to #121366, I would expect to see a number of "no such file or directory" or equivalent error messages, but there do not appear to be any. |
However, right before this I see:
|
@christopherfujino There is an issue reported recently at #133230 which has a similar error (see #133230 (comment)). Even though the author of that issue manage to solve it by replacing |
Thanks for the heads up! |
Steps to Reproduce
flutter run
But web app build succeeds.
Logs
Logs
The text was updated successfully, but these errors were encountered: