Skip to content

fresh installation of build_runner throws arbitrary errors #3791

Closed
@AndreasMaitaGebit

Description

@AndreasMaitaGebit

Dear build_runner Team,

first, thank you for your contributions and for this amazing project you have been building on.

Unfortunately, I have not been able to use the build_runner in my freshly created flutter project. There seems to be an issue with the installation.

  • Dart SDK Version

    • 3.6.0
  • What package(s) from this repo you are using, and the version
    build_runner 2.4.14

  • What builder(s) you are using (or writing yourself). Try to give a short summary of what they do.
    the freezed package

  • Whether you are using Windows, MacOSX, or Linux (if applicable)
    im using MacOS

Steps to Reproduce:

  1. create a flutter project called shelf
    flutter create shelf

  2. add build_runner as a dev dependency
    dart pub add dev:build_runner

  3. get dependencies
    dart pub get

  4. run the build_runner just to check if installation was successful
    dart run build_runner build

Expected Behavior:

Nothing should happen, since no build steps are added and no other package is present

Actual Behavior:

dart build_runner build fails with a bunch of errors, i appended a file with the errors.
output.txt

What I already tried:

  • checking out the build repo, building it locally and using my local build_runner that i imported into my project via path dependency
  • clearing my pub cache
  • using older versions of build_runner

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions