You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like the component isn't being built before the dependencies are loaded.
mba~/code/dl/mycelia % cargo run build
warning: cli v0.1.0 (/Users/dani/code/dl/mycelia/cli) ignoring invalid dependency `development_server` which is missing a lib target
Finished dev [unoptimized + debuginfo] target(s) in 0.45s
Running `target/debug/cli build`
[2023-10-18T10:13:01Z INFO cli::build::build] Building Mycelia project
Finished release [optimized] target(s) in 0.29s
warning: cli v0.1.0 (/Users/dani/code/dl/mycelia/cli) ignoring invalid dependency `development_server` which is missing a lib target
Compiling function_service v0.1.0 (/Users/dani/code/dl/mycelia/services/function)
error: couldn't read services/function/src/../../../components/function-component.wasm: No such file or directory (os error 2)
--> services/function/src/lib.rs:202:21
|
202 | let bytes = include_bytes!("../../../components/function-component.wasm");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile `function_service` (lib) due to previous error
[2023-10-18T10:13:03Z ERROR cli] Workspace { status: 101 }
The text was updated successfully, but these errors were encountered:
Current
main
when deleting components/ folder.Seems like the component isn't being built before the dependencies are loaded.
The text was updated successfully, but these errors were encountered: