From ce8c7c2328c6d0bdca1f4e44b522bd226c9b2424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Sat, 19 Sep 2026 13:59:42 +0200 Subject: [PATCH] fix: use preinstalled Jaspr CLI for build command `dart run jaspr_cli:jaspr build` only resolves jaspr_cli from the project's own dependency graph, and `jaspr create` does not add it to pubspec.yaml -- Jaspr treats the CLI as part of the environment. A stock Jaspr project therefore failed to build with: Could not find package `jaspr_cli` or file `jaspr_cli:jaspr` The Flutter runtime now preinstalls the CLI and puts it on PATH (open-runtimes/open-runtimes#572), so the plain binary is the correct call. Co-Authored-By: Claude Opus 5 (1M context) --- app/config/frameworks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/frameworks.php b/app/config/frameworks.php index 2e26fb16c1..ad0f49a668 100644 --- a/app/config/frameworks.php +++ b/app/config/frameworks.php @@ -332,7 +332,7 @@ return [ 'adapters' => [ 'ssr' => [ 'key' => 'ssr', - 'buildCommand' => 'dart run jaspr_cli:jaspr build', + 'buildCommand' => 'jaspr build', 'installCommand' => 'dart pub get', 'outputDirectory' => './build/jaspr', 'startCommand' => 'bash helpers/jaspr/server.sh',