Giter Club home page Giter Club logo

Comments (6)

minhnt3 avatar minhnt3 commented on July 30, 2024 2

@MurhafMoussa you should run dart run tools/gen_env/lib/main.dart or make gen_env

from flutter-bloc-cleanarchitecture.

minhnt3 avatar minhnt3 commented on July 30, 2024 1

@MurhafMoussa It seems like a mistake in my articles. I updated it. Thanks for reporting.

from flutter-bloc-cleanarchitecture.

minhnt3 avatar minhnt3 commented on July 30, 2024 1

@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

from flutter-bloc-cleanarchitecture.

MurhafMoussa avatar MurhafMoussa commented on July 30, 2024

@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.

MurhafMoussa avatar MurhafMoussa commented on July 30, 2024

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.

MurhafMoussa avatar MurhafMoussa commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.