Closed Pepperychef closed 4 years ago
I don't have any problem on your sample project, it compile just fine.
Be sure you are using flutter pub pub run build_runner build
and not pub run build_runner build
like your title say.
I've tested with last flutter stable on my side :)
I was using the flutter packages pub run build_runner build
and after your response i tried the flutter pub pub run build_runner build
just in case but didn't work.
But saying that you was using the last flutter stable version makes me check.
I was using the latest flutter from the master branch, just changing the branch to stable solved the problem.
I think that the dart team changed how the analyzer works in the master and the dev branches and the build_runner was the one that wasn't working how it is supposed.
In any case tnx for the help.
Switched to flutter stable branch worked for me!
Looks like you need to upgrade build_runner or analyzer https://github.com/dart-lang/build/issues/2476 https://github.com/dart-lang/build/issues/2482
yes, can someone allow build_runner v 1.1.0? im having the same problem
I am already in flutter master branch.
Ran flutter pub pub run build_runner build
Ran flutter pub upgrade
And still the same error
I am already in flutter master branch. Ran
flutter pub pub run build_runner build
Ranflutter pub upgrade
And still the same error
change flutter to the "stable" branch nabilanam
first of all, i must say that i love this orm, but from today and without knowing why i cant generate nothing with the build_runner command. Everytime i try this is the output.
i dont get why this is happening.
here is a test project i used to try this outside of my main project.
https://github.com/Pepperychef/test_jaguar