jaspr icon indicating copy to clipboard operation
jaspr copied to clipboard

Cant launch jaspr serve or build

Open FabienZE opened this issue 11 months ago • 9 comments

Description

With a fresh install of Flutter 3.27.3 stable and a fresh activation of Jaspr on a fresh Ubuntu 24.10 virtual machine, and similarly with my current install of flutter inside VSCode on my linux desktop, the step "[BUILDER] Connecting to the build daemon..." takes a very long time to execute, about 2 minutes.

I can't figure out...

In the output below you can see : f�vr. 02 16:55:37 [BUILDER] Connecting to the build daemon... f�vr. 02 16:57:40 [BUILDER] Generating build script...

2 minutes!

Additional Context

jaspr doctor output :

[✓] Jaspr CLI (Version 0.17.0)
  • Dart Version 3.6.1 (stable) (Tue Jan 7 09:50:00 2025 -0800) on "linux_x64" at /home/fabien/Développement/flutter/bin/cache/dart-sdk/bin/dart
  • Running on linux Linux 6.11.0-14-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 10 23:48:25 UTC 2025 - Locale fr_FR.UTF-8
  • Analytics: Enabled

[✓] Current Project
  • Dependencies on core packages:
    • jaspr: ^0.17.0
    • jaspr_builder: ^0.17.0 (dev)
    • jaspr_web_compilers: ^4.1.0 (dev)
    • jaspr_router: ^0.6.1
  • Rendering mode: server
  • Uses jaspr compilers: true
  • Uses flutter embedding: false

jaspr serve --verbose output :

jaspr serve --verbose | ts
f�vr. 02 16:55:37 [CLI] Running jaspr in server rendering mode.
f�vr. 02 16:55:37 [CLI] Starting web compiler...
f�vr. 02 16:55:37 [BUILDER] Connecting to the build daemon...
f�vr. 02 16:57:40 [BUILDER] Generating build script...
f�vr. 02 16:57:40 [BUILDER] Generating build script completed, took 321ms
f�vr. 02 16:57:40 [BUILDER] Starting daemon...
f�vr. 02 16:57:41 [BUILDER] Initializing inputs
f�vr. 02 16:57:41 [BUILDER] Reading cached asset graph...
f�vr. 02 16:57:41 [BUILDER] Reading cached asset graph completed, took 247ms
f�vr. 02 16:57:41 [BUILDER] Checking for updates since last build...
f�vr. 02 16:57:42 [BUILDER] Checking for updates since last build completed, took 791ms
f�vr. 02 16:57:42 [BUILDER] Initializing inputs
f�vr. 02 16:57:42 [BUILDER] Reading cached asset graph...
f�vr. 02 16:57:42 [BUILDER] Reading cached asset graph completed, took 247ms
f�vr. 02 16:57:42 [BUILDER] Checking for updates since last build...
f�vr. 02 16:57:42 [BUILDER] Checking for updates since last build completed, took 791ms
f�vr. 02 16:57:42 [BUILDER] Setting up file watchers...
f�vr. 02 16:57:42 [BUILDER] Setting up file watchers completed, took 2ms
f�vr. 02 16:57:42 [BUILDER] Registering build targets...
f�vr. 02 16:57:42 [BUILDER] Starting initial build...
f�vr. 02 16:57:42 [BUILDER] Starting resource servers...
f�vr. 02 16:57:42 [BUILDER] About to build [web]...
f�vr. 02 16:57:42 [CLI] Building web assets...
f�vr. 02 16:57:42 [BUILDER] Running build...
f�vr. 02 16:57:43 [BUILDER] Running build completed, took 210ms
f�vr. 02 16:57:43 [BUILDER] Caching finalized dependency graph...
f�vr. 02 16:57:43 [BUILDER] Caching finalized dependency graph completed, took 211ms
f�vr. 02 16:57:43 [BUILDER] Succeeded after 443ms with 0 outputs (0 actions)
f�vr. 02 16:57:43 [BUILDER] ------------------------------------------------------------------------
f�vr. 02 16:57:43 [CLI] Done building web assets.
f�vr. 02 16:57:43 [CLI] Starting server...
f�vr. 02 16:57:43 [CLI] Server started.

FabienZE avatar Feb 02 '25 15:02 FabienZE