-
Notifications
You must be signed in to change notification settings - Fork 8
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
rps gen not working #12
Comments
Hi @JGeek00 👋🏻 ,Do you have a For this to work, you must define the scripts of your choice yourself. name: my_great_app
description: My great app!
publish_to: "none"
version: 1.0.0+1
scripts:
run: "flutter run"
gen: "flutter pub run build_runner build --delete-conflicting-outputs"
watch: "flutter pub run build_runner watch --delete-conflicting-outputs"
environment:
sdk: ">=2.18.0 <3.0.0"
dependencies:
json_annotation: 4.6.0
dev_dependencies:
build_runner: ^2.2.1
flutter:
uses-material-design: true
assets:
- assets/images/ Now you can use the It is also possible that you have nested the If so, this is a change that should be made: scripts:
- run:
- gen: "flutter pub run build_runner build --delete-conflicting-outputs"
+ gen: "flutter pub run build_runner build --delete-conflicting-outputs" Let me know if this works for you 🤙🏻 |
🤔 I think I misunderstood the instructions. I thought that after adding a custom script you had to run |
I'm trying to run
rps gen
as it's specified on the documentation but i'm receiving an error.I tried running
rps run <my command>
and it worked so mayberps gen
was working but for some reason it throwed that error.The text was updated successfully, but these errors were encountered: