schultek / jaspr

Modern web framework for building websites in Dart. Supports SPAs and SSR.
https://jasprpad.schultek.de
MIT License
1k stars 59 forks source link

Failed to initialize incremental compiler #178

Closed codekeyz closed 1 month ago

codekeyz commented 4 months ago

Description

Screenshot 2024-03-02 at 9 26 20 PM
[BUILDER] [ERROR] #9      main (file:///Volumes/Work/s/w/ir/x/w/sdk/utils/bazel/kernel_worker.dart:30:5)
[BUILDER] [ERROR] <asynchronous suspension>
[BUILDER] [ERROR] AssetNotFoundException: meta|lib/meta_meta.ddc.dill
[BUILDER] [ERROR] AssetNotFoundException: meta|lib/meta_meta.ddc.dill
[BUILDER] [ERROR] AssetNotFoundException: meta|lib/meta_meta.ddc.dill
[BUILDER] [ERROR] AssetNotFoundException: meta|lib/meta_meta.ddc.dill
[BUILDER] [ERROR] AssetNotFoundException: web|web/main.clients.bootstrap.ddc.js.metadata
[BUILDER] [ERROR] AssetNotFoundException: web|web/components/app.client.bootstrap.ddc.js.metadata
[BUILDER] [ERROR] Failed after 1.0s
[CLI] [ERROR] Failed building web assets. There is probably more output above.
⠹ [CLI] Building web assets... (This takes longer for the initial build)... (28.9s)

Steps To Reproduce

  1. Activate jaspr through dart pub global activate jaspr_cli
  2. Create a new project with jaspr create, choose recommended
  3. Run jaspr serve
  4. See error

Expected Behavior

Additional Context

I'm not really sure what's happening. I just run jaspr create and used the recommended template. Then i run jaspr serve and then i had this.

Dart Version

Dart SDK version: 3.3.0 (stable) (Tue Feb 13 10:25:19 2024 +0000) on "macos_arm64"
schultek commented 4 months ago

Whats the output of 'jaspr doctor'?

schultek commented 4 months ago

Some general things you can try:

jaspr clean dart pub upgrade using build_web_compilers instead of if you selected jaspr_web_compilers

Let me know if any of those helped.

codekeyz commented 4 months ago

Okay, let me try that.

schultek commented 1 month ago

Closing as stale.