bagisto / opensource-ecommerce-mobile-app

This open-source mobile ecommerce app seamlessly transforms your Bagisto store into a powerful mobile platform, providing real-time synchronization of products and categories.
https://bagisto.com/en/laravel-ecommerce-mobile-app-flutter/
MIT License
4.87k stars 98 forks source link

run first time flutter app #7

Closed nadeemabualarayes closed 4 months ago

nadeemabualarayes commented 4 months ago

Target of URI hasn't been generated: 'package:bagisto_app_demo/data_model/account_models/account_update_model.g.dart'. (Documentation)

Target of URI hasn't been generated: 'package:bagisto_app_demo/data_model/account_models/account_info_details.g.dart'. (Documentation)

try to run it but does not work

Screenshot 2024-05-09 at 3 38 58 PM
AnchitAndroidWorld commented 4 months ago

you can use build command of the build_runner package to generate the missing model files.

dart run build_runner build --delete-conflicting-outputs

if this does not works on the first run try steps below ->

flutter clean

flutter pub get

dart run build_runner build --delete-conflicting-outputs

and this should help you