-
Notifications
You must be signed in to change notification settings - Fork 213
Builder errors out on files it's supposed to generate #1718
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
Comments
The |
@jakemac53 okay I see, the reason why I made such an obvious error is because there seems to be a caching problem and nothing I did changed the behavior of my builder so I got more and more confused. Change it first to a valid anything with |
Ah, I see you are reading the file directly with Basically, change |
This also makes your builder more portable, in can read generated files and run in other environments that don't have dart:io or where the source files live in some other place. |
Cool now it works, thank you. Btw, it was also very confusing for me that print() doesnt seem to work 99% of the time but it does work when I tried to print out the contents after reading it from the buildStep. |
Printing does work but it logs at the |
We'll also switch |
Dart VM version: 2.0.0-dev.69.5 (Tue Jul 31 15:05:14 2018 +0200) on "linux_x64"
I have attached my full source code because this is weird. I dont see how this can be my fault, it has to be a bug.
example.zip
The text was updated successfully, but these errors were encountered: