Code Monkey home page Code Monkey logo

Comments (7)

Mik77o avatar Mik77o commented on August 20, 2024 1

@theSoenke For some reason, running flutter packages pub get instead of flutter pub get for codemagic build script solved my issue (solution from the community). Now build is generated and OTA is working...

from flutter_sdk_example.

theSoenke avatar theSoenke commented on August 20, 2024 1

@Mik77o Glad this is working now! And thanks for posting the solution in case anyone else runs into the same issue

from flutter_sdk_example.

theSoenke avatar theSoenke commented on August 20, 2024

Hi @Mik77o, could you try setting synthetic-package to false in in l10n.yaml and check whether this makes any difference?

from flutter_sdk_example.

Mik77o avatar Mik77o commented on August 20, 2024

Hi @Mik77o, could you try setting synthetic-package to false in in l10n.yaml and check whether this makes any difference?

Okay, I will try :)

from flutter_sdk_example.

Mik77o avatar Mik77o commented on August 20, 2024

@theSoenke I got:
'phrase_localizations.dart' has been successfully created
flutter packages pub run build_runner build --delete-conflicting-outputs
Unhandled exception:

_bad state: Unable to generate package graph, no /Users/builder/clone/.dart_tool/flutter_gen/pubspec.yaml found.
#0 _pubspecForPath (package:build_runner_core/src/package_graph/package_graph.dart:232:5)
#1 parsePackageDependencies (package:build_runner_core/src/package_graph/package_graph.dart:206:21)
#2 PackageGraph.forPath (package:build_runner_core/src/package_graph/package_graph.dart:101:33)

#3 main (file:///Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/build_runner-2.3.2/bin/build_runner.dart:27:30)

pub finished with exit code 255
make: *** [generate-code] Error 255

from flutter_sdk_example.

Mik77o avatar Mik77o commented on August 20, 2024

@theSoenke I found something like that: dart-lang/build#2835 (comment)

from flutter_sdk_example.

Mik77o avatar Mik77o commented on August 20, 2024

@Mik77o Glad this is working now! And thanks for posting the solution in case anyone else runs into the same issue

Yes, it's very interesting how these two commands differ because according to the documentation they mean the same thing.

from flutter_sdk_example.

Related Issues (13)

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.