Closed cogivn closed 1 year ago
As I can see in the log, you don't have the directory images
under assets
on the main
branch.
Also make sure the casing of monoLisa
directory match what's shown on GitHub in your pubspec.yaml
file.
Hi @tk-nguyen,
Thank you for your reply. This is my example repo: https://github.com/cogivn/portfolio This is my pubspec.yaml
name: portfolio
description: A new Flutter project.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 0.0.1+1
environment:
sdk: '>=2.18.2 <3.0.0'
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
cupertino_icons: ^1.0.5
intl_utils:
git: https://github.com/ThexXTURBOXx/intl_utils.git
google_fonts: ^3.0.1
asuka: ^2.0.1+3
get_it: ^7.2.0
intl: ^0.17.0
flutter_bloc: ^8.1.1
flutter_loggy: ^2.0.1
flutter_svg: ^1.1.6
flutter_screenutil: ^5.6.0
auto_route: ^5.0.2
freezed_annotation: ^2.2.0
freezed: ^2.2.1
shared_preferences: ^2.0.15
flutter_secure_storage: ^6.0.0
uuid: ^3.0.6
mason: ^0.1.0-dev.35
args: ^2.3.1
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.1
build_runner: ^2.3.2
flutter_gen_runner: ^5.1.0+1
auto_route_generator: ^5.0.3
flutter:
uses-material-design: true
assets:
- assets/images/
- assets/icons/
fonts:
- family: MonoLisa
fonts:
- asset: assets/fonts/monoLisa/MonoLisa-Black.ttf
- asset: assets/fonts/monoLisa/MonoLisa-BlackItalic.ttf
- asset: assets/fonts/monoLisa/MonoLisa-Bold.ttf
- asset: assets/fonts/monoLisa/MonoLisa-BoldItalic.ttf
- asset: assets/fonts/monoLisa/MonoLisa-ExtraLight.ttf
- asset: assets/fonts/monoLisa/MonoLisa-ExtraLightItalic.ttf
- asset: assets/fonts/monoLisa/MonoLisa-Light.ttf
- asset: assets/fonts/monoLisa/MonoLisa-LightItalic.ttf
- asset: assets/fonts/monoLisa/MonoLisa-Medium.ttf
- asset: assets/fonts/monoLisa/MonoLisa-MediumItalic.ttf
- asset: assets/fonts/monoLisa/MonoLisa-Regular.ttf
- asset: assets/fonts/monoLisa/MonoLisa-RegularItalic.ttf
- asset: assets/fonts/monoLisa/MonoLisa-Thin.ttf
- asset: assets/fonts/monoLisa/MonoLisa-ThinItalic.ttf
flutter_gen:
output: lib/generated/
integrations:
flutter_svg: true
flare_flutter: false
rive: false
assets:
enabled: true
output:
package_parameter_enabled: false
style: dot-delimiter
colors:
enabled: true
inputs:
- assets/color/colors.xml
flutter_intl:
enabled: true
main_locale: 'en'
arb_dir: assets/l10n
It works when I build it at localhost but fails with CI.
Thanks 👯
Add your assets/images
folder to git, and change monoLisa
to monolisa
(lowercase l)
Hi @tk-nguyen,
It fixed. i will close the threat. Thank you so much ❤️
Hi,
Thank you for creating awesome library. I tried to build a simple website but it failed to load the assets folder via CI but can build it at localhost Here is my configure and logs from Github CI. Can you help to check on it or let's me know if i configured wrong way :)
Thank you so much,![Imgur](https://i.imgur.com/Gdvx3EB.png)