Skip to content

Unable to build anything (no .packages file) #681

@MrCyjaneK

Description

@MrCyjaneK

Hover doctor

$ flutter doctor
Flutter 3.6.0-0.1.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 75927305ff (3 tygodnie temu) • 2022-11-17 05:52:50 +0530
Engine • revision b754eabc98
Tools • Dart 2.19.0 (build 2.19.0-374.1.beta) • DevTools 2.19.0
[...]

Error output

Using hover build [...] --XXX to build my application, I get the following
error:

hover: Generating kernel snapshot
result 97ec1709-f58d-434b-b3b3-f41ff40bad12
Error: Error when reading '.packages': No such file or directory
Error: Error when reading '.packages': No such file or directory
[...]

How to reproduce?

$ flutter create testapp
$ cd testapp
$ flutter run --device-id linux # confirm that the app runs
$ hover init
$ hover build linux # press y when asked

Build will fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions