Skip to content

Running flutter doctor output Error: Error when reading 'packages/flutter_tools/.packages': The system cannot find the file specified. bin/cache/flutter_tools.snapshot: Error: Error when reading 'bin/cache/flutter_tools.snapshot': The system cannot find the file specified. #115067

@henseljahja

Description

@henseljahja

OS:
Edition Windows 11 Pro
Version 22H2
Installed on ‎11/‎5/‎2022
OS build 22621.819
Experience Windows Feature Experience Pack 1000.22636.1000.0

Flutter Version : 3.3.8

I just downloaded and installed the Flutter 3.3.8 and extract it into D:\tools\flutter, but when im trying to run flutter doctor, it always output

Building flutter tool...
Running pub upgrade...
Cannot open file, path = 'pubspec.lock' (OS Error: The parameter is incorrect.
, errno = 87)
Error (66): Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)

and outputing those till it breaks, currently i have no admin privileges for this machine, does anyone have a solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions