mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
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) <noreply@anthropic.com>
This commit is contained in:
1 parent
c3227b3426
commit
ce8c7c2328
1 file changed
+1
-1
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user