Skip to content

Flutterflow cli wants to install a previous version of the sdk #7289

Description

@vdevc

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

As of today, Flutterflow cli started producing the following message

➜  my-app flutterflow ai --help
Unhandled exception:
Refusing to install build 3dc1c5da (released 2026-06-14T04:43:44Z) for env prod: it is older than the highest previously-installed build (released 2026-07-09T01:28:59Z). Pass --allow-rollback to override.
#0      PackageSnapshotManager.ensureInstalled (package:flutterflow_cli/src/ai_artifacts.dart:390:7)
<asynchronous suspension>
#1      _ensureWorkspaceReady (package:flutterflow_cli/src/ai_router.dart:684:21)
<asynchronous suspension>
#2      _runFlutterFlowAIPassthrough (package:flutterflow_cli/src/ai_router.dart:656:3)
<asynchronous suspension>
#3      runAiNamespace (package:flutterflow_cli/src/ai_router.dart:30:9)
<asynchronous suspension>
#4      appMain (file:///Users/xxxxxx/.pub-cache/hosted/pub.dev/flutterflow_cli-0.0.37/bin/flutterflow_cli.dart:12:5)
<asynchronous suspension>
#5      main (file:///Users/xxxxxx/.pub-cache/hosted/pub.dev/flutterflow_cli-0.0.37/bin/flutterflow_cli.dart:225:3)
<asynchronous suspension>

Expected Behavior

It is not expected that the cli try to install a previous version of the sdk

Steps to Reproduce

Run the flutterflow cli command in a workspace

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4Chcj6w5d2odxE1qruYPowpDgXH1g1RYIS18IbSQsbJ5PQCJkQO8nQP0ltTu2nd0FAfGKMp14xps2PvuDlNuwnOSmufYRO/6hudA3yZFuRaZ+TF7izPmtAINFRGlCD5rWzgh15LsxoWWQBw0+Yee6/Fj3DNZz1IEQ8Sq/LZO4=

Visual documentation

The application does not show any error

Environment

- FlutterFlow version: 7.0.23
- Platform: MacOs M4
- Browser name and version:
- Operating system and version affected:

Additional Information

No response

Metadata

Metadata

Assignees

Labels

status: can't reproduceFollowing the reported steps did not reproduce the bug.

Type

No type

Fields

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