Skip to content

flutter create emits confusing language about caches unprompted #140628

@matanlurey

Description

@matanlurey

Version is 3.16.5 (stable):

$ flutter --version
Flutter 3.16.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 78666c8dc5 (7 days ago) • 2023-12-19 16:14:14 -0800
Engine • revision 3f3e560236
Tools • Dart 3.2.3 • DevTools 2.28.4

Example

$ flutter create --empty --platforms macos my_app
Found an existing Pub cache at /Users/matan/.pub-cache.
It can be repaired by running `dart pub cache repair`.
It can be reset by running `dart pub cache clean`.
Found an existing Dart Analysis Server cache at /Users/matan/.dartServer.
It can be reset by deleting /Users/matan/.dartServer.

I have no idea what I'm supposed to be doing with this information, or why it was presented to me. Are my caches stale? What would lead me to wanting to repair or reset either of these caches?

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectr: fixedIssue is closed as already fixed in a newer versionteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions