Comments (6)
@MurhafMoussa you should run dart run tools/gen_env/lib/main.dart
or make gen_env
from flutter-bloc-cleanarchitecture.
@MurhafMoussa It seems like a mistake in my articles. I updated it. Thanks for reporting.
from flutter-bloc-cleanarchitecture.
@MurhafMoussa Yes. I will make it but for the time being, I could support for macOS. If you are using Windows, you could run the full command defined in the makefile
. For example, cd app && flutter pub run flutter_launcher_icons:main -f app_icon/app-icon.yaml
instead of make update_app_icon
.
![image](https://private-user-images.githubusercontent.com/93504649/271617202-36457c65-0374-4764-86c8-3ececfc3ca53.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTA5NzI5NzcsIm5iZiI6MTcxMDk3MjY3NywicGF0aCI6Ii85MzUwNDY0OS8yNzE2MTcyMDItMzY0NTdjNjUtMDM3NC00NzY0LTg2YzgtM2VjZWNmYzNjYTUzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzIwVDIyMTExN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIwZTNlMTMxMmE4ZDdmNzYyMmM3NTk2ZTU5NWJlNzY5ZDM1NjJkYzZhYWRhZjlmMGY2ODlmMGZjN2JlYTdjOGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.E_E9LjKo-tOWwmqGejzUzK_sUgIZ6FdCL1tt3OCh4Wc)
from flutter-bloc-cleanarchitecture.
@minhnt3 thanks it worked but there was another problems :
1- I had to run flutter pub get inside the tools\gen_env to get the xml dependency
2- I had an exception when I run the dart run tools/gen_env/lib/main.dart which was this
Error: The content of settings.json or launch.json is empty or the trailing comma is redundant or comments are invalid
BAD:
```
"settingA": {
"keyA": "A",
"keyB": "B", // <== Please remove this trailing comma
}
```
GOOD:
```
"settingA": {
"keyA": "A",
"keyB": "B"
}
```
FormatException: Unexpected character (at line 10, character 17)
// "--verbose",
^
So I went to the launcher.json and deleted all the comments related to verbose and it worked
from flutter-bloc-cleanarchitecture.
one more thing , I had this error when I run the make gen_env
make gen_env
make : The term 'make' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
- make gen_env
-
+ CategoryInfo : ObjectNotFound: (make:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
I did't know how to fix it although I installed melos and configured all the environment variables
ps: I am using Windows
from flutter-bloc-cleanarchitecture.
maybe this is because this configuration runs on mac .. I think you should make another configuration for Windows dont you think ?
from flutter-bloc-cleanarchitecture.
Related Issues (16)
- make run_dev gives errors on IOS HOT 5
- Bloc test HOT 4
- Error when run make sync HOT 1
- UI Issue when using stack with sticky textfield the textfield is no floating with keyboard. HOT 1
- Errors after last update HOT 1
- Not able to update app version HOT 1
- Flutter 3.10.4 HOT 6
- Flavor Reading Problem HOT 2
- UI rebuild when check has primarry focus HOT 4
- failed build resources HOT 2
- Error from Clipboard to Data Model tool HOT 1
- Bloc to bloc communication HOT 4
- About StateError (Bad state: Cannot add new events after calling close) problem HOT 2
- separation by feature HOT 1
- how to use RouteGuards with AppRouter HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-bloc-cleanarchitecture.