All Questions
Tagged with build-runner dart-pub
6 questions
0
votes
1
answer
1k
views
Error [SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart
i Get This Error When In Specific Project run build runner
[SEVERE] Failed to precompile build script .dart_tool/build/entrypoint/build.dart. This is likely caused by a misconfigured builder ...
1
vote
0
answers
264
views
Unable to generate code using build_runner for dart_frog project
I have a dart_frog server code running on a Google Cloud - Compute Engine instance. I have used stormberry as the ORM for my postgres DB which generates code using build_runner.
Now, the issue is that,...
1
vote
0
answers
727
views
Dart build_runner does not work as expected
I've created this small repository where I am displaying this bug. Dose anyone knows what exactly I'm missing or is it a bug?
Steps to reproduce:
Clone the repo: git clone https://github.com/Vildnex/...
4
votes
0
answers
388
views
Nothing can be built, yet a build was requested
I'm trying to store a list of objects with Hive in flutter.
The ChatModel (chat_model.dart) class looks like this:
import 'package:flutter/material.dart';
import 'package:hive_flutter/hive_flutter....
12
votes
3
answers
4k
views
I migrated to null safety and i cant run "flutter pub run build_runner build" without an error being thrown
I have added // @dart=2.9 to all my files but the build_runner won't do its thing without throwing this error:
Warning: Operand of null-aware operation '?.' has type 'SendPort' which excludes null. - '...
49
votes
24
answers
131k
views
Why doesn't build_runner generate files when serializing JSON in dart/flutter
I'm just trying to generate my files with the same command i stored like 3 months ago (i'm not very good with backend and devops) and now it doesn't generate the files anymore.
It tells me to use the ...